a guest Mar 13th, 2018 68 Never
- 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