lib/qlang/parser/vector_parser.rb in qlang-0.0.27 vs lib/qlang/parser/vector_parser.rb in qlang-0.0.141
- old
+ new
@@ -1,12 +1,10 @@
module Qlang
module Parser
module VectorParser
include Base
- def execute(lexed_string)
- lexed_string.rms!(/ *\( */, / *\) */)
- elements = lexed_string.split_by_sp
- VectorApi.execute(elements)
+ def execute(lexed)
+ VectorApi.execute(lexed.values)
end
module_function :execute
end
end
end