Class: Lang::Subtags::Extlang
- Defined in:
- lib/lang/subtags/extlang.rb
Overview
Holds data about extlang subtags.
Instance Attribute Summary collapse
-
#macrolanguage ⇒ Object
Returns the value of attribute macrolanguage.
-
#prefix ⇒ Object
Returns the value of attribute prefix.
-
#scope ⇒ Object
Returns the value of attribute scope.
-
#suppress_script ⇒ Object
Returns the value of attribute suppress_script.
Attributes inherited from Entry
#added_at, #comments, #deprecated_at, #name, #preferred_value
Instance Method Summary collapse
Methods inherited from Entry
#add_description, #deprecated?, #description, entries, inherited, subclasses
Instance Attribute Details
#macrolanguage ⇒ Object
Returns the value of attribute macrolanguage.
6 7 8 |
# File 'lib/lang/subtags/extlang.rb', line 6 def macrolanguage @macrolanguage end |
#prefix ⇒ Object
Returns the value of attribute prefix.
6 7 8 |
# File 'lib/lang/subtags/extlang.rb', line 6 def prefix @prefix end |
#scope ⇒ Object
Returns the value of attribute scope.
6 7 8 |
# File 'lib/lang/subtags/extlang.rb', line 6 def scope @scope end |
#suppress_script ⇒ Object
Returns the value of attribute suppress_script.
6 7 8 |
# File 'lib/lang/subtags/extlang.rb', line 6 def suppress_script @suppress_script end |