Module: Equation::RangeLiteral1
- Defined in:
- lib/equation_grammar.rb
Instance Method Summary collapse
Instance Method Details
#value(ctx:) ⇒ Object
1810 1811 1812 |
# File 'lib/equation_grammar.rb', line 1810 def value(ctx:) Range.new(start.text_value.to_i, ending.text_value.to_i) end |