Object
# File lib/i18n/locale/tag/simple.rb, line 17 17: def initialize(*tag) 18: @tag = tag.join('-').to_sym 19: end
# File lib/i18n/locale/tag/simple.rb, line 8 8: def tag(tag) 9: new(tag) 10: end
# File lib/i18n/locale/tag/simple.rb, line 21 21: def subtags 22: @subtags = tag.to_s.split('-').map { |subtag| subtag.to_s } 23: end
# File lib/i18n/locale/tag/simple.rb, line 33 33: def to_a 34: subtags 35: end
# File lib/i18n/locale/tag/simple.rb, line 29 29: def to_s 30: tag.to_s 31: end
# File lib/i18n/locale/tag/simple.rb, line 25 25: def to_sym 26: tag 27: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.