lib/hilbert/iq.rb in hilbert-0.0.2700001 vs lib/hilbert/iq.rb in hilbert-0.0.2700100
- old
+ new
@@ -10,10 +10,10 @@
str.equalize!
end
end
def self.execute(code)
- ruby_code = Q.to_ruby.compile(code.encode('utf-8'))
+ ruby_code = Hilbert.to_ruby.compile(code.encode('utf-8'))
ruby_obj = eval(ruby_code)
optimize_output(ruby_obj).encode('utf-8')
rescue SyntaxError
# TODO: emergency