Sha256: 9e305e62628c64210d4e5e7572234771faa390892378901943615996b6d0e707

Contents?: true

Size: 247 Bytes

Versions: 5

Compression:

Stored size: 247 Bytes

Contents

module Qlang
  module Api
    module ListApi
      def execute(arys)
        combineds_by_equal = arys.map { |ary| "#{ary[0]}=#{ary[1]}" }.join(', ')
        "list(#{combineds_by_equal})"
      end
      module_function :execute
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
qlang-0.0.14142 lib/qlang/api/list_api.rb
qlang-0.0.1414 lib/qlang/api/list_api.rb
qlang-0.0.141 lib/qlang/api/list_api.rb
qlang-0.0.14 lib/qlang/api/list_api.rb
qlang-0.0.1 lib/qlang/api/list_api.rb