Object
# 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
# File lib/i18n/locale/tag/simple.rb, line 21 def subtags @subtags = tag.to_s.split('-').map { |subtag| subtag.to_s } end
# 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
[Validate]
Generated with the Darkfish Rdoc Generator 2.