Sha256: e97ddcad0eca39e82732645430e303ccb9d8ad077c8efd9fcf80625b8169e011

Contents?: true

Size: 279 Bytes

Versions: 9

Compression:

Stored size: 279 Bytes

Contents

module Hilbert
  module Parser
    module ListParser
      include Base
      def execute(lexed)
        arys = lexed.split(/ *, */).map { |e| e.split(/ *: */).map { |e2| e2.delete(' ') } }
        ListApi.execute(arys)
      end
      module_function :execute
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hilbert-0.0.2700420 lib/hilbert/parser/list_parser.rb
hilbert-0.0.2700410 lib/hilbert/parser/list_parser.rb
hilbert-0.0.2700400 lib/hilbert/parser/list_parser.rb
hilbert-0.0.2700320 lib/hilbert/parser/list_parser.rb
hilbert-0.0.2700300 lib/hilbert/parser/list_parser.rb
hilbert-0.0.2700210 lib/hilbert/parser/list_parser.rb
hilbert-0.0.2700110 lib/hilbert/parser/list_parser.rb
hilbert-0.0.2700100 lib/hilbert/parser/list_parser.rb
hilbert-0.0.2700001 lib/hilbert/parser/list_parser.rb