6 autoload :Parents, 'i18n/locale/tag/parents'
7 autoload :Rfc4646, 'i18n/locale/tag/rfc4646'
8 autoload :Simple, 'i18n/locale/tag/simple'
11 # Returns the current locale tag implementation. Defaults to +I18n::Locale::Tag::Simple+.
13 @@implementation ||= Simple
16 # Sets the current locale tag implementation. Use this to set a different locale tag implementation.
17 def implementation=(implementation)
18 @@implementation = implementation
21 # Factory method for locale tags. Delegates to the current locale tag implementation.
23 implementation.tag(tag)