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.
153 154 155 |
# File 'lib/sequel/plugins/composition.rb', line 153 def compositions @compositions ||= {} end |
#freeze ⇒ Object
Freeze compositions hash when freezing model instance.
158 159 160 161 |
# File 'lib/sequel/plugins/composition.rb', line 158 def freeze compositions.freeze super end |