Fix respond_to method for ruby2.0

respond_to? returns false for protected methods in Ruby 2.0. 
http://ruby-doc.org/core-2.0.0/Object.html#method-i-respond_to-3F