Class: CldrPlurals::Compiler::Operator
- Inherits:
-
Object
- Object
- CldrPlurals::Compiler::Operator
- 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) ⇒ Operator
constructor
A new instance of Operator.
Constructor Details
#initialize(symbol) ⇒ Operator
Returns a new instance of Operator.
73 74 75 |
# File 'lib/cldr-plurals/compiler/nodes.rb', line 73 def initialize(symbol) @symbol = symbol end |
Instance Attribute Details
#symbol ⇒ Object (readonly)
Returns the value of attribute symbol.
71 72 73 |
# File 'lib/cldr-plurals/compiler/nodes.rb', line 71 def symbol @symbol end |