Ruby-2.x: Fixing old fashioned one parameter '.respond_to?' with two parameter one.

See http://ruby-doc.org/core-2.1.2/Object.html#method-i-respond_to-3F