Fix command evaluation in Ruby 2.x

Object#respond_to? will only look for protected and private methods if
it is passed `true` as its second argument.