instance method
find_first_string_default
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
find_first_string_default(defaults)
No documentation comment.
Parameters
-
defaultsreq
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/fallbacks.rb, line 63
def find_first_string_default(defaults)
defaults.each_index { |ix| return ix if String === defaults[ix] }
nil
end
Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/fallbacks.rb line 63
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in I18n::Backend::Fallbacks