Module: Superhosting::MapperInheritance::Base
Instance Attribute Summary collapse
-
#inheritors ⇒ Object
Returns the value of attribute inheritors.
-
#inheritors_tree ⇒ Object
Returns the value of attribute inheritors_tree.
Instance Method Summary collapse
Instance Attribute Details
#inheritors ⇒ Object
Returns the value of attribute inheritors.
4 5 6 |
# File 'lib/superhosting/mapper_inheritance/base.rb', line 4 def inheritors @inheritors end |
#inheritors_tree ⇒ Object
Returns the value of attribute inheritors_tree.
4 5 6 |
# File 'lib/superhosting/mapper_inheritance/base.rb', line 4 def inheritors_tree @inheritors_tree end |
Instance Method Details
#initialize ⇒ Object
6 7 8 9 |
# File 'lib/superhosting/mapper_inheritance/base.rb', line 6 def initialize self.inheritors = {} self.inheritors_tree = {} end |
#set_inheritors(mapper) ⇒ Object
11 12 13 |
# File 'lib/superhosting/mapper_inheritance/base.rb', line 11 def set_inheritors(mapper) self.set_inheritance(mapper) end |