Class Index [+]

Quicksearch

I18n::Locale::Tag

Constants

RFC4646_SUBTAGS
RFC4646_FORMATS

Public Class Methods

implementation() click to toggle source

Returns the current locale tag implementation. Defaults to +I18n::Locale::Tag::Simple+.

    # File lib/i18n/locale/tag.rb, line 12
12:         def implementation
13:           @@implementation ||= Simple
14:         end
implementation=(implementation) click to toggle source

Sets the current locale tag implementation. Use this to set a different locale tag implementation.

    # File lib/i18n/locale/tag.rb, line 17
17:         def implementation=(implementation)
18:           @@implementation = implementation
19:         end
tag(tag) click to toggle source

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

    # File lib/i18n/locale/tag.rb, line 22
22:         def tag(tag)
23:           implementation.tag(tag)
24:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.