Ruby untuk programmer
irb(main):002:0> puts "Hello World"
Hello World
=> nil
DevLorenzo
irb(main):002:0> puts "Hello World"
Hello World
=> nil
irb(main):004:0> 3*2
=> 6
irb(main):006:0> Math.sqrt(9)
=> 3.0
irb(main):003:0> 3+2
=> 5
irb(main):005:0> 3**2
=> 9
irb(main):007:0> a = 3 ** 2
=> 9
irb(main):008:0> b = 4 ** 2
=> 16
irb(main):009:0> Math.sqrt(a+b)
=> 5.0