Methods
N
S
T
Included Modules
Attributes
[R] tag
Class Public methods
new(*tag)
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/locale/tag/simple.rb, line 18
def initialize(*tag)
  @tag = tag.join('-').to_sym
end
tag(tag)
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/locale/tag/simple.rb, line 9
def tag(tag)
  new(tag)
end
Instance Public methods
subtags()
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/locale/tag/simple.rb, line 22
def subtags
  @subtags = tag.to_s.split('-').map { |subtag| subtag.to_s }
end
to_a()
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/locale/tag/simple.rb, line 34
def to_a
  subtags
end
to_s()
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/locale/tag/simple.rb, line 30
def to_s
  tag.to_s
end
to_sym()
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/locale/tag/simple.rb, line 26
def to_sym
  tag
end