Method: Prism::ItLocalVariableReadNode#===

Defined in:
lib/prism/node.rb

#===(other) ⇒ Object

Implements case-equality for the node. This is effectively == but without comparing the value of locations. Locations are checked only for presence.



10069
10070
10071
# File 'lib/prism/node.rb', line 10069

def ===(other)
  other.is_a?(ItLocalVariableReadNode)
end