Basics
Hello World
hello_world.rb
puts "Hello World !"
# this is a commentExecute
ruby hello_world.rubyInteractive Ruby Shell (IRB)
irb
quitDocumentation
Documentation using Command Line
ri Stringri String#upcaseri String.newLast updated
Was this helpful?