Object
# File lib/i18n/locale/tag/simple.rb, line 19 19: def initialize(*tag) 20: @tag = tag.join('-').to_sym 21: end
# File lib/i18n/locale/tag/simple.rb, line 10 10: def tag(tag) 11: new(tag) 12: end
# File lib/i18n/locale/tag/simple.rb, line 23 23: def subtags 24: @subtags = tag.to_s.split('-').map { |subtag| subtag.to_s } 25: end
# File lib/i18n/locale/tag/simple.rb, line 35 35: def to_a 36: subtags 37: end
# File lib/i18n/locale/tag/simple.rb, line 31 31: def to_s 32: tag.to_s 33: end
# File lib/i18n/locale/tag/simple.rb, line 27 27: def to_sym 28: tag 29: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.