Skip to content

Instantly share code, notes, and snippets.

@nakajima
Created February 22, 2009 20:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nakajima/68608 to your computer and use it in GitHub Desktop.
Save nakajima/68608 to your computer and use it in GitHub Desktop.
Can you make a smaller one?
loop do
print '>> '
output = eval($stdin.gets)
print '=> '
puts output.inspect
end
With mini-irb:
>> Symbol.all_symbols.length
=> 958
With irb:
>> Symbol.all_symbols.length
=> 2738
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment