Module: MemoryModel::Base::Collectible::ClassMethods
- Defined in:
- lib/memory_model/base/collectible.rb
Instance Method Summary collapse
Instance Method Details
#collection ⇒ Object
18 19 20 21 |
# File 'lib/memory_model/base/collectible.rb', line 18 def collection return nil if self == MemoryModel::Base @collection ||= MemoryModel::Collection.new(self) end |