Skip to content

Instantly share code, notes, and snippets.

@dannysmith
Created May 13, 2010 15:38
Show Gist options
  • Save dannysmith/399965 to your computer and use it in GitHub Desktop.
Save dannysmith/399965 to your computer and use it in GitHub Desktop.
loop do
print ">>"
output = eval($stdin.gets)
print "=>"
puts output.inspect
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment