Method: Constree::Node#parent

Defined in:
lib/constree/node.rb

#parentObject

Returns the value of attribute parent

Returns:

  • (Object)

    the current value of parent



5
6
7
# File 'lib/constree/node.rb', line 5

def parent
  @parent
end