Method: NoSE::QueryGraph::Node#==
- Defined in:
- lib/nose/query_graph.rb
#==(other) ⇒ Object Also known as: eql?
Two nodes are equal if they represent the same entity
23 24 25 |
# File 'lib/nose/query_graph.rb', line 23 def ==(other) other.is_a?(Node) && @entity == other.entity end |