instance method find_first_string_default

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

find_first_string_default(defaults)

No documentation comment.

Parameters

defaults req
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

Type at least 2 characters to search.

↑↓ navigate · open · esc close