lib/qlang/parser/integral_parser.rb in qlang-0.0.27 vs lib/qlang/parser/integral_parser.rb in qlang-0.0.141
- old
+ new
@@ -3,12 +3,12 @@
module IntegralParser
include Base
def execute(string)
integrated, range = string.scan(/S *\((.+)\)\[(.+)\]/).first
- integrated.rm!(' ')
+ integrated.rm(' ')
- IntegralApi.execute(FormulaParser.execute(integrated[0..-3]), integrated[-2..-1], range)
+ IntegralApi.execute(integrated[0..-3], integrated[-2..-1], range)
end
module_function :execute
end
end
end