Working with Ruby Interactively, start irb : irb « Language Basics « Ruby






Working with Ruby Interactively, start irb


C:\rubydev>irb
irb(main):001:0>

 








Related examples in the same category

1.Check the version of Interactive Ruby
2.Enter your Ruby code at that prompt, such as puts "Hello from Ruby."
3.You press the Enter key, irb evaluates your Ruby and gives you the result