1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

add print method to the shell.

This commit is contained in:
Charles Lowell 2010-02-26 21:47:41 -06:00
parent 0dbdd0c529
commit 00bbed5930

View file

@ -35,6 +35,10 @@ HELP
"[object TheRubyRacer]"
end
def print(string)
puts string
end
def ruby(src)
eval(src)
end