instance method map

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

map(mappings)

No documentation comment.

Parameters

mappings req
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/locale/fallbacks.rb, line 75
      def map(mappings)
        mappings.each do |from, to|
          from, to = from.to_sym, Array(to)
          to.each do |to|
            @map[from] ||= []
            @map[from] << to.to_sym
          end
        end
      end

Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/locale/fallbacks.rb line 75 · View on GitHub · Improve this page · Find usages on GitHub

Defined in I18n::Locale::Fallbacks

Type at least 2 characters to search.

↑↓ navigate · open · esc close