Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > delegateライブラリ > Delegator::MethodDelegationモジュール > respond_to?

instance method Delegator::MethodDelegation#respond_to?

respond_to?(m) -> bool

Delegator::MethodDelegation#__getobj__ が返すオブジェクトが メソッド m を持つとき真を返します。

[PARAM] m:
メソッド名

[SEE_ALSO] Object#respond_to?