Sha256: bee57acb850f8b672022a68acc043fc926feb76e7835d9124b16b3a60ffa7149
Contents?: true
Size: 349 Bytes
Versions: 10
Compression:
Stored size: 349 Bytes
Contents
module Qlang module Api module FuncApi def execute(func_name, args, contents) case $type when :R "#{func_name} <- function(#{ args.join(' ,') }) #{contents}" when :Ruby "#{func_name}(#{ args.join(' ,') }) <= #{contents}" end end module_function :execute end end end
Version data entries
10 entries across 10 versions & 1 rubygems