Class: Melbourne::AST::RangeExclude
- Defined in:
- lib/melbourne/ast/literals.rb
Overview
A range literal that excludes the end as in:
1...3
Instance Attribute Summary
Attributes inherited from Range
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(line, start, finish) ⇒ RangeExclude
constructor
A new instance of RangeExclude.
Methods inherited from Node
Constructor Details
#initialize(line, start, finish) ⇒ RangeExclude
Returns a new instance of RangeExclude.
157 158 159 160 161 |
# File 'lib/melbourne/ast/literals.rb', line 157 def initialize(line, start, finish) @line = line @start = start @finish = finish end |