Method: Fancygrid::Node#root?

Defined in:
lib/fancygrid/node.rb

#root?Boolean

Returns true if this node is the root node of the tree.

Returns:

  • (Boolean)


98
99
100
# File 'lib/fancygrid/node.rb', line 98

def root?
  self.root.equal?(self)
end