method
respond_to

respond_to(*names)
public
Matches if the target object responds to all of the names provided. Names can be Strings or Symbols.
respond_to(*names)
public
Matches if the target object responds to all of the names provided. Names can be Strings or Symbols.