Locale::Tag::Simple
Broken tag class.
# File lib/locale/tag/irregular.rb, line 20 20: def initialize(tag) 21: tag = "en" if tag == nil or tag == "" 22: super(tag.to_s) 23: @tag = tag 24: end
Returns an Array of tag-candidates order by priority.
# File lib/locale/tag/irregular.rb, line 27 27: def candidates 28: [Irregular.new(tag)] 29: end
Conver to the klass(the class of Language::Tag)
# File lib/locale/tag/irregular.rb, line 34 34: def convert_to(klass) 35: klass.new(tag) 36: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.