Method: Prism::SourceEncodingNode#===
- 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.
16530 16531 16532 |
# File 'lib/prism/node.rb', line 16530 def ===(other) other.is_a?(SourceEncodingNode) end |