Sha256: 80280ee5c3efb0cadf940c90fff685d716543bb89c46299cd88c34dbaa3d8a7f

Contents?: true

Size: 331 Bytes

Versions: 3

Compression:

Stored size: 331 Bytes

Contents

module Qlang
  module Parser
    module IntegralParser
      include Base
      def execute(string)
        integrated, range = string.scan(/S *\((.+)\)\[(.+)\]/).first

        integrated.rm(' ')

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
qlang-0.0.14142 lib/qlang/parser/integral_parser.rb
qlang-0.0.1414 lib/qlang/parser/integral_parser.rb
qlang-0.0.141 lib/qlang/parser/integral_parser.rb