Guest User

Untitled

a guest
Jul 21st, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. person = Person.new
  2. person.birthdate #=> '28/05/1990'
  3.  
  4. product = Product.new(:price => 19.99)
  5. product.price #=> '19,99'
  6. product.quantity #=> '100,00'
  7.  
  8. product.price * product.quantity #=> BOOM!
Add Comment
Please, Sign In to add comment