種類
- インスタンスメソッド (156)
- 文書 (12)
- 関数 (12)
- モジュール関数 (12)
- 特異メソッド (1)
ライブラリ
- ビルトイン (168)
-
minitest
/ unit (1)
クラス
- Class (12)
-
MiniTest
:: Unit :: TestCase (1) - Module (60)
- Object (60)
- Thread (24)
モジュール
- Kernel (12)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
add
_ trace _ func (12) -
const
_ source _ location (12) -
instance
_ methods (12) - methods (12)
-
private
_ instance _ methods (12) -
private
_ methods (12) -
protected
_ instance _ methods (12) -
protected
_ methods (12) -
public
_ instance _ methods (12) -
public
_ methods (12) -
rb
_ class _ inherited (12) -
set
_ trace _ func (24) -
singleton
_ methods (12)
検索結果
先頭5件
-
Object
# methods(include _ inherited = true) -> [Symbol] (107.0) -
そのオブジェクトに対して呼び出せるメソッド名の一覧を返します。 このメソッドは public メソッドおよび protected メソッドの名前を返します。
...を返します。
ただし特別に、引数が偽の時は Object#singleton_methods(false) と同じになっています。
@param include_inherited 引数が偽の時は Object#singleton_methods(false) と同じになります。
//emlist[例1][ruby]{
class Parent
private; def private_p... -
Object
# private _ methods(include _ inherited = true) -> [Symbol] (107.0) -
そのオブジェクトが理解できる private メソッド名の一覧を返します。
...そのオブジェクトが理解できる private メソッド名の一覧を返します。
@param include_inherited 偽となる値を指定すると自身のクラスのスーパークラスで定義されたメソッドを除きます。
@see Module#private_instance_methods,Object#methods,O... -
Object
# protected _ methods(include _ inherited = true) -> [Symbol] (107.0) -
そのオブジェクトが理解できる protected メソッド名の一覧を返します。
...そのオブジェクトが理解できる protected メソッド名の一覧を返します。
@param include_inherited 偽となる値を指定すると自身のクラスのスーパークラスで定義されたメソッドを除きます。
@see Module#protected_instance_methods,Object#metho... -
Object
# public _ methods(include _ inherited = true) -> [Symbol] (107.0) -
そのオブジェクトが理解できる public メソッド名の一覧を返します。
...そのオブジェクトが理解できる public メソッド名の一覧を返します。
@param include_inherited 偽となる値を指定すると自身のクラスのスーパークラスで定義されたメソッドを除きます。
@see Module#public_instance_methods,Object#methods,Obj... -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (42.0) -
1.6.8から1.8.0への変更点(まとめ) * ((<1.6.8から1.8.0への変更点(まとめ)/インタプリタの変更>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加されたクラス/モジュール>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加されたメソッド>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加された定数>)) * ((<1.6.8から1.8.0への変更点(まとめ)/拡張されたクラス/メソッド(互換性のある変更)>)) * ((<1.6.8から1.8.0への変更点(まとめ)/変更されたクラス/メソッド(互換性のない変更)>)) * ((<1.6.8から1.8.0への変更点(まとめ)/文法の変更>)) * ((<1.6.8から1.8.0への変更点(まとめ)/正規表現>)) * ((<1.6.8から1.8.0への変更点(まとめ)/Marshal>)) * ((<1.6.8から1.8.0への変更点(まとめ)/Windows 対応>)) * ((<1.6.8から1.8.0への変更点(まとめ)/廃止された(される予定の)機能>)) * ((<1.6.8から1.8.0への変更点(まとめ)/ライブラリ>)) * ((<1.6.8から1.8.0への変更点(まとめ)/拡張ライブラリAPI>)) * ((<1.6.8から1.8.0への変更点(まとめ)/バグ修正>)) * ((<1.6.8から1.8.0への変更点(まとめ)/サポートプラットフォームの追加>))
...nil と
NULLポインタの相互変換を行うようになりました((<ruby-dev:13017>))。
=== Class
: ((<Class#inherited|Class/inherited>)) [change]
inherited メソッドはクラス定義式の終りに呼び出されるようになりました。
((<ruby-bugs-ja:342>))
=== Dir......変換をサポートしました。((<ruby-dev:20021>))
# 別に影響ない変更なのでコメント
# : ((<Class/Class.inherited>)) [compat]
#
# (注: Class#inherited ではありません)
#
# 以前は、クラスのサブクラスの定義を禁止するために定義されていま......割は Class.new が担保するようになりました。そのため、
# Class.inherited メソッドの定義はなくなりました。
#
# class SubClass < Class
# end
#
# #=> -:1:in `inherited': can't make subclass of Class (TypeError)
# from -:1
# rub... -
Kernel
. # set _ trace _ func(proc) -> Proc (12.0) -
Ruby インタプリタのイベントをトレースする Proc オブジェクトとして 指定された proc を登録します。 nil を指定するとトレースがオフになります。
...ce_func, #<Binding:0xf6ceb8>, Kernel]
# ["line", "..", 4, nil, #<Binding:0x10cbcd8>, nil]
# ["c-call", "..", 4, :inherited, #<Binding:0x10cba98>, Class]
# ["c-return", "..", 4, :inherited, #<Binding:0x10cb858>, Class]
# ["class", "..", 4, nil, #<Binding:0x10cb600>, nil]
# ["end", "..", 5, nil, #<Bin... -
Thread
# add _ trace _ func(pr) -> Proc (12.0) -
スレッドにトレース用ハンドラを追加します。
...> ["line", "example.rb", 4, nil, #<Binding:0x00007f98e107d0d8>, nil]
# => ["c-call", "example.rb", 4, :inherited, #<Binding:0x00007f98e1087448>, Class]
# => ["c-return", "example.rb", 4, :inherited, #<Binding:0x00007f98e1085d00>, Class]
# => ["class", "example.rb", 4, nil, #<Binding:0x00007f98e108f2... -
Thread
# set _ trace _ func(pr) -> Proc | nil (12.0) -
スレッドにトレース用ハンドラを設定します。
...> ["line", "example.rb", 2, nil, #<Binding:0x00007fc8de87cb08>, nil]
# => ["c-call", "example.rb", 2, :inherited, #<Binding:0x00007fc8de886770>, Class]
# => ["c-return", "example.rb", 2, :inherited, #<Binding:0x00007fc8de8844e8>, Class]
# => ["class", "example.rb", 2, nil, #<Binding:0x00007fc8de88e8...