lib/qlang/api/func_api.rb in qlang-0.0.27182000 vs lib/qlang/api/func_api.rb in qlang-0.0.27182100
- old
+ new
@@ -6,10 +6,10 @@
when :r
"#{func_name} <- function(#{ args.join(' ,') }) #{contents}"
when :ruby
"#{func_name}(#{ args.join(' ,') }) <= #{contents}"
else
- fail "Function is not implemented for #{LANGS_HASH[$meta_info.lang.to_s]}"
+ fail "Function is not implemented for #{$meta_info.lang_str}"
end
end
module_function :execute
end