Sha256: badfd46457a339c7e0c010ac719d33814e16cd74d8e8f91136fe9897be266fea
Contents?: true
Size: 344 Bytes
Versions: 3
Compression:
Stored size: 344 Bytes
Contents
class Tomato include DataMapper::Persistence ATTRIBUTES << :bruised def initialize(details = nil) super @name = 'Ugly' @init_run = true @bruised = true end def initialized? @init_run end property :name, :string def heal! @bruised = false end def bruised? @bruised end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
datamapper-0.3.0 | spec/models/tomato.rb |
datamapper-0.3.1 | spec/models/tomato.rb |
datamapper-0.3.2 | spec/models/tomato.rb |