Method: Object#respond_to_missing?

Defined in:
vm_method.c

#respond_to_missing?(symbol, include_private) ⇒ Boolean

Hook method to return whether the obj can respond to id method or not.

See #respond_to?.

Returns:

  • (Boolean)
[View source]

# File 'vm_method.c'

/*
 *  call-seq:
 *     obj.respond_to_missing?(symbol, include_private) -> true or false
 *
 *  Hook method to return whether the _obj_ can respond to _id_ method
 *  or not.
 *
 *  See #respond_to?.
 */
static VALUE
obj_respond_to_missing(VALUE obj, VALUE priv)
{
    return Qfalse;
}