Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > delegateライブラリ > Delegatorクラス > respond_to?

instance method Delegator#respond_to?

respond_to?(m) -> bool

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

[PARAM] m:
メソッド名

[SEE_ALSO] Object#respond_to?

class Delegator