class I18n::Locale::Tag::Simple
Attributes
Public Class Methods
# File lib/i18n/locale/tag/simple.rb, line 17 def initialize(*tag) @tag = tag.join('-').to_sym end
# File lib/i18n/locale/tag/simple.rb, line 8 def tag(tag) new(tag) end
Public Instance Methods
# File lib/i18n/locale/tag/simple.rb, line 33 def to_a subtags end
# File lib/i18n/locale/tag/simple.rb, line 29 def to_s tag.to_s end
# File lib/i18n/locale/tag/simple.rb, line 25 def to_sym tag end