method

respond_to_missing?

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - 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.

Show source
Register or log in to add new notes.