Class: CldrPlurals::Compiler::Range

Inherits:
Object
  • Object
show all
Defined in:
lib/cldr-plurals/compiler/nodes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#finishObject (readonly)

Returns the value of attribute finish.



54
55
56
# File 'lib/cldr-plurals/compiler/nodes.rb', line 54

def finish
  @finish
end

#startObject (readonly)

Returns the value of attribute start.



54
55
56
# File 'lib/cldr-plurals/compiler/nodes.rb', line 54

def start
  @start
end