Proc#== and eql? are removed in Ruby 2.0.