Module: Equation::ArrayLiteral3
- Defined in:
- lib/equation_grammar.rb
Instance Method Summary collapse
Instance Method Details
#value(ctx:) ⇒ Object
1665 1666 1667 1668 1669 1670 1671 1672 1673 |
# File 'lib/equation_grammar.rb', line 1665 def value(ctx:) elements = [] elements << elems.elem0.value(ctx: ctx) if elems.elem0.respond_to?(:value) elems.elemN.elements.each{|elemN| elements << elemN.element.value(ctx: ctx) } elements end |