Module: Hilbert::Parser::IntegralParser

Includes:
Base
Defined in:
lib/hilbert/parser/integral_parser.rb

Class Method Summary collapse

Class Method Details

.execute(els) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/hilbert/parser/integral_parser.rb', line 5

def execute(els)
  integrated, range = els[0], els[1]

  integrated.rm!(' ')

  IntegralApi.execute(FormulaParser.execute(integrated[0..-3]), integrated[-2..-1], range)
end