Skip to content

Instantly share code, notes, and snippets.

@th1agoalmeida
Created November 5, 2010 05:41
Show Gist options
  • Save th1agoalmeida/663698 to your computer and use it in GitHub Desktop.
Save th1agoalmeida/663698 to your computer and use it in GitHub Desktop.
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