Class: DataMapper::Resource::State::Persisted
- Inherits:
-
DataMapper::Resource::State
- Object
- DataMapper::Resource::State
- DataMapper::Resource::State::Persisted
- Defined in:
- lib/dm-core/resource/state/persisted.rb
Overview
a persisted resource (abstract)
Instance Attribute Summary
Attributes inherited from DataMapper::Resource::State
Instance Method Summary collapse
Methods inherited from DataMapper::Resource::State
#commit, #delete, #initialize, #rollback, #set
Methods included from Equalizer
Constructor Details
This class inherits a constructor from DataMapper::Resource::State
Instance Method Details
#get(subject, *args) ⇒ Object
7 8 9 10 |
# File 'lib/dm-core/resource/state/persisted.rb', line 7 def get(subject, *args) lazy_load(subject) super end |