# File lib/cons.rb, line 9 def ==(other) other.respond_to?(:car) and @car == other.car and other.respond_to?(:cdr) and @cdr == other.cdr end