Class: CldrPlurals::Compiler::Range
- Inherits:
-
Object
- Object
- CldrPlurals::Compiler::Range
- Defined in:
- lib/cldr-plurals/compiler/nodes.rb
Instance Attribute Summary collapse
-
#finish ⇒ Object
readonly
Returns the value of attribute finish.
-
#start ⇒ Object
readonly
Returns the value of attribute start.
Instance Method Summary collapse
-
#initialize(start, finish) ⇒ Range
constructor
A new instance of Range.
Constructor Details
#initialize(start, finish) ⇒ Range
Returns a new instance of Range.
56 57 58 59 |
# File 'lib/cldr-plurals/compiler/nodes.rb', line 56 def initialize(start, finish) @start = start @finish = finish end |
Instance Attribute Details
#finish ⇒ Object (readonly)
Returns the value of attribute finish.
54 55 56 |
# File 'lib/cldr-plurals/compiler/nodes.rb', line 54 def finish @finish end |
#start ⇒ Object (readonly)
Returns the value of attribute start.
54 55 56 |
# File 'lib/cldr-plurals/compiler/nodes.rb', line 54 def start @start end |