Sha256: 7e02cb0eda9c14ae994ea009e62a62f0304f9c5691fd831d524c97f8f6bb96e7

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 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

1 entries across 1 versions & 1 rubygems

Version Path
qlang-0.0.141421 lib/qlang/parser/integral_parser.rb