Module: ActiveGraph::Node::Dependent

Included in:
ActiveGraph::Node
Defined in:
lib/active_graph/node/dependent.rb,
lib/active_graph/node/dependent/association_methods.rb,
lib/active_graph/node/dependent/query_proxy_methods.rb

Defined Under Namespace

Modules: AssociationMethods, QueryProxyMethods

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#called_by=(value) ⇒ Object (writeonly)

Sets the attribute called_by

Parameters:

  • value

    the value to set the attribute called_by to.



8
9
10
# File 'lib/active_graph/node/dependent.rb', line 8

def called_by=(value)
  @called_by = value
end

Instance Method Details

#dependent_childrenObject



4
5
6
# File 'lib/active_graph/node/dependent.rb', line 4

def dependent_children
  @dependent_children ||= []
end