Module: Degica::Collectable

Included in:
Door, Object
Defined in:
lib/degica/collectable.rb

Overview

Collectable instances store a reference to the Collection they belong to. Collection handles updating the reference.

Instance Attribute Summary collapse

Instance Attribute Details

#collectionObject

Returns the value of attribute collection.



5
6
7
# File 'lib/degica/collectable.rb', line 5

def collection
  @collection
end