
No sane way to include/reuse Simple::Backend
Reported by Sven Fuchs | August 9th, 2008 @ 01:07 PM
Am I missing something obvious or is there just no way to include the Simple::Backend's class methods as class methods in another module?
This of course does not work:
module I18n::Backend::Simple::Russian class << self
include I18n::Backend::Simple
end end
Maybe we should change the Simple Backend to something along the lines of:
http://redcorundum.blogspot.com/...
So that one could do:
module I18n::Backend::Simple::Russian class << self
include I18n::Backend::Simple::ClassMethods
end end
Comments and changes to this ticket
-
-
Sven Fuchs August 29th, 2008 @ 08:36 PM
- State changed from new to resolved
Yeah, thanks for nudging :)
For the record, Simple::Backend is now a class.
-
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Repository for collecting Locale data for Ruby on Rails I18n as well as other interesting, Rails related I18n stuff