Class: CldrPlurals::Compiler::Rule
- Inherits:
-
Object
- Object
- CldrPlurals::Compiler::Rule
- Defined in:
- lib/cldr-plurals/compiler/nodes.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#root ⇒ Object
readonly
Returns the value of attribute root.
Instance Method Summary collapse
-
#initialize(root) ⇒ Rule
constructor
A new instance of Rule.
Constructor Details
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/cldr-plurals/compiler/nodes.rb', line 7 def name @name end |
#root ⇒ Object (readonly)
Returns the value of attribute root.
6 7 8 |
# File 'lib/cldr-plurals/compiler/nodes.rb', line 6 def root @root end |