204件ヒット
[201-204件を表示]
(0.078秒)
ライブラリ
- ビルトイン (204)
キーワード
-
method
_ defined? (12) -
private
_ constant (12) -
private
_ method _ defined? (12) -
protected
_ method _ defined? (12) -
public
_ class _ method (24) -
public
_ constant (12) -
public
_ instance _ method (12) -
public
_ method _ defined? (12)
検索結果
-
Module
# protected _ method _ defined?(name , inherit=true) -> bool (37.0) -
インスタンスメソッド name がモジュールに定義されており、 しかもその可視性が protected であるときに true を返します。 そうでなければ false を返します。
... String を指定します。
@param inherit 真を指定するとスーパークラスや include したモジュールで
定義されたメソッドも対象になります。
@see Module#method_defined?, Module#public_method_defined?, Module#private_method_defined?
//emlist[例][ruby]{...