class YARP::LexCompat::EndContentToken
Ripper
doesn’t include the rest of the token in the event, so we need to trim it down to just the content on the first line when comparing.
Public Instance Methods
==(other)
click to toggle source
# File lib/yarp/lex_compat.rb, line 207 def ==(other) [self[0], self[1], self[2][0..self[2].index("\n")], self[3]] == other end