Method: SyntaxTree::Heredoc#===

Defined in:
lib/syntax_tree/node.rb

#===(other) ⇒ Object



5870
5871
5872
5873
# File 'lib/syntax_tree/node.rb', line 5870

def ===(other)
  other.is_a?(Heredoc) && beginning === other.beginning &&
    ending === other.ending && ArrayMatch.call(parts, other.parts)
end