method
respond_to_missing?
v2_2_9 -
Show latest stable
- Class:
Object
respond_to_missing?(p1, p2)public
DO NOT USE THIS DIRECTLY.
Hook method to return whether the obj can respond to id method or not.
When the method name parameter is given as a string, the string is converted to a symbol.
See #respond_to?, and the example of BasicObject.