312件ヒット
[301-312件を表示]
(0.086秒)
ライブラリ
- ビルトイン (312)
クラス
- BasicObject (24)
- Module (228)
- Object (60)
キーワード
-
instance
_ eval (24) -
instance
_ methods (12) -
method
_ defined? (12) - methods (12)
-
private
_ class _ method (24) -
private
_ instance _ methods (12) -
private
_ method _ defined? (12) -
protected
_ method _ defined? (12) - public (48)
-
public
_ class _ method (24) -
public
_ instance _ method (12) -
public
_ method (12) -
public
_ method _ defined? (12) -
respond
_ to? (12) -
respond
_ to _ missing? (12) -
singleton
_ methods (12)
検索結果
-
Module
# public(names) -> Array (125.0) -
メソッドを public に設定します。
...ッド名を指定した場合に発生します。
//emlist[例][ruby]{
def foo() 1 end
p foo # => 1
# the toplevel default is private
p self.foo # => private method `foo' called for #<Object:0x401c83b0> (NoMethodError)
def bar() 2 end
public :bar # visibility changed (al...