Module: Shanty::Mixins::ActsAsLinkGraphNode::ClassMethods

Defined in:
lib/shanty/mixins/acts_as_link_graph_node.rb

Overview

Common methods inherited by all classes

Instance Attribute Summary collapse

Instance Attribute Details

#children=(value) ⇒ Object (writeonly)

Sets the attribute children

Parameters:

  • value

    the value to set the attribute children to.



23
24
25
# File 'lib/shanty/mixins/acts_as_link_graph_node.rb', line 23

def children=(value)
  @children = value
end

#parents=(value) ⇒ Object (writeonly)

Sets the attribute parents

Parameters:

  • value

    the value to set the attribute parents to.



23
24
25
# File 'lib/shanty/mixins/acts_as_link_graph_node.rb', line 23

def parents=(value)
  @parents = value
end