Class: CldrPlurals::Compiler::Operand
- Inherits:
-
Object
- Object
- CldrPlurals::Compiler::Operand
- Defined in:
- lib/cldr-plurals/compiler/nodes.rb
Instance Attribute Summary collapse
-
#symbol ⇒ Object
readonly
Returns the value of attribute symbol.
Instance Method Summary collapse
-
#initialize(symbol) ⇒ Operand
constructor
A new instance of Operand.
Constructor Details
#initialize(symbol) ⇒ Operand
Returns a new instance of Operand.
81 82 83 |
# File 'lib/cldr-plurals/compiler/nodes.rb', line 81 def initialize(symbol) @symbol = symbol end |
Instance Attribute Details
#symbol ⇒ Object (readonly)
Returns the value of attribute symbol.
79 80 81 |
# File 'lib/cldr-plurals/compiler/nodes.rb', line 79 def symbol @symbol end |