Mega Code Archive

 
Categories / Ruby / Language Basics
 

You press the Enter key, irb evaluates your Ruby and gives you the result

C:\rubydev>irb irb(main):001:0> puts "Hello from Ruby." Hello from Ruby.