42 / 6
#7

name = "Zaphod"
#"Zaphod" assigns variable value

name.upcase
#"ZAPHOD" -you can call methods on an object stored in a variable

name.reverse
#goes back to original variable, so it will be lowercase
#"dohpaZ"

name.upcase.reverse
#"DOHPAZ"

name.class
#String - will give the type of class


name * 3
#"ZaphodZaphodZaphod"

5 > 4
#true

number = -32
#-32 assigns variable value

number.abs
#32

-32.abs
#32

number += 10
#-22 -again it amends the original variable

rand(25)
#23 - this is a method call for a random number

number.class
#fixnum -a fixnum is a kind of integer
