Sha256: f8c9fb0718deb60381268eb43b80b5a09433a45e00d27578f25f07c489dea1f4

Contents?: true

Size: 218 Bytes

Versions: 2

Compression:

Stored size: 218 Bytes

Contents

module Qlang
  module Api
    module FuncApi
      def execute(func_name, args, contents)
        "#{func_name} <- function(#{ args.join(' ,') }) #{contents}"
      end
      module_function :execute
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
qlang-0.0.14 lib/qlang/api/func_api.rb
qlang-0.0.1 lib/qlang/api/func_api.rb