module I18n::Locale::Tag

def implementation

Returns the current locale tag implementation. Defaults to +I18n::Locale::Tag::Simple+.
def implementation
  @@implementation ||= Simple
end

def implementation=(implementation)

Sets the current locale tag implementation. Use this to set a different locale tag implementation.
def implementation=(implementation)
  @@implementation = implementation
end

def tag(tag)

Factory method for locale tags. Delegates to the current locale tag implementation.
def tag(tag)
  implementation.tag(tag)
end