a guest Mar 13th, 2018 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- def Book < DataMapper::Model
- property [:title, :author], :string
- book = Book.new(:title => "1984", :author => "Orson Welles")
- book.title #=> "1984"
- book.author #=> "Orson Welles"
RAW Paste Data