Method: Constree::Node#==

Defined in:
lib/constree/node.rb

#==(other) ⇒ Object



51
52
53
54
55
# File 'lib/constree/node.rb', line 51

def == other
  return false unless constant.is_a? Module
  return false unless other.is_a? Node
  constant == other.constant
end