Object
If the I18n gem is present, calls I18n.translate passing all arguments, else returns +options+.
# File lib/authlogic/i18n/translator.rb, line 6 def translate(key, options = {}) if defined?(::I18n) ::I18n.translate key, options else options[:default] end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.