instance method
locale
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
locale()
The only configuration value that is not global and scoped to thread is :locale. It defaults to the default_locale.
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/config.rb, line 5
def locale
@locale ||= default_locale
end
Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/config.rb line 5
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in I18n::Config