lib/qlang/api/integral_api.rb in qlang-0.0.27182000 vs lib/qlang/api/integral_api.rb in qlang-0.0.27182100
- old
+ new
@@ -5,10 +5,10 @@
a, b = range.split('..')
case $meta_info.lang
when :ruby
"S(#{func}, #{delta})[#{a}, #{b}]"
else
- fail "Integral is not implemented for #{LANGS_HASH[$meta_info.lang.to_s]}"
+ fail "Integral is not implemented for #{$meta_info.lang_str}"
end
end
module_function :execute
end