Created
November 5, 2010 05:41
-
-
Save ch1ago/663698 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module I18n | |
def self.translate(skey) | |
return 'aaaa' if skey=='a' | |
return super.translate(skey) #this line is wrong, what do I need to do to use the default function again? | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment