Module: Sequel::Plugins::Composition::InstanceMethods
- Defined in:
- lib/sequel/plugins/composition.rb
Instance Method Summary collapse
-
#compositions ⇒ Object
Cache of composition objects for this class.
-
#freeze ⇒ Object
Freeze compositions hash when freezing model instance.
Instance Method Details
#compositions ⇒ Object
Cache of composition objects for this class.
155 156 157 |
# File 'lib/sequel/plugins/composition.rb', line 155 def compositions @compositions ||= {} end |
#freeze ⇒ Object
Freeze compositions hash when freezing model instance.
160 161 162 163 |
# File 'lib/sequel/plugins/composition.rb', line 160 def freeze compositions.freeze super end |