class method
self.default_locale=
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
self.default_locale=(locale)
Sets the current default locale. Used to set a custom default locale.
Parameters
-
localereq
Source
# File activesupport/lib/active_support/vendor/i18n-0.0.1/i18n.rb, line 34
def default_locale=(locale)
@@default_locale = locale
end
Defined in activesupport/lib/active_support/vendor/i18n-0.0.1/i18n.rb line 34
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in I18n