Class: CldrPlurals::Compiler::Condition
- Inherits:
-
Object
- Object
- CldrPlurals::Compiler::Condition
- Defined in:
- lib/cldr-plurals/compiler/nodes.rb
Overview
and/or
Direct Known Subclasses
Instance Attribute Summary collapse
-
#left ⇒ Object
readonly
Returns the value of attribute left.
-
#right ⇒ Object
readonly
Returns the value of attribute right.
Instance Method Summary collapse
-
#initialize(right, left) ⇒ Condition
constructor
A new instance of Condition.
Constructor Details
#initialize(right, left) ⇒ Condition
Returns a new instance of Condition.
44 45 46 47 |
# File 'lib/cldr-plurals/compiler/nodes.rb', line 44 def initialize(right, left) @right = right @left = left end |
Instance Attribute Details
#left ⇒ Object (readonly)
Returns the value of attribute left.
42 43 44 |
# File 'lib/cldr-plurals/compiler/nodes.rb', line 42 def left @left end |
#right ⇒ Object (readonly)
Returns the value of attribute right.
42 43 44 |
# File 'lib/cldr-plurals/compiler/nodes.rb', line 42 def right @right end |