#3 ✓resolved
Sven Fuchs

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

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.

New-ticket Create new ticket

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

People watching this ticket

Pages