class RuboCop::AST::NodePattern::Comment

def ==(other)

Returns:
  • (Boolean) -

Parameters:
  • other (Object) --
def ==(other)
  other.is_a?(Comment) &&
    @location == other.location
end