class method self.tag

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

self.tag(tag)

Factory method for locale tags. Delegates to the current locale tag implementation.

Parameters

tag req
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/locale/tag.rb, line 22
        def tag(tag)
          implementation.tag(tag)
        end

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

Defined in I18n::Locale::Tag

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close