別のキーワード
種類
- インスタンスメソッド (132)
- 文書 (46)
- 関数 (24)
- クラス (12)
- モジュール (6)
クラス
- BasicObject (36)
- Module (36)
- Object (60)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 3 . 0 (10) - Numeric (12)
-
Profiler
_ _ (6) -
define
_ singleton _ method (24) - method (12)
-
method
_ added (12) -
method
_ removed (12) -
method
_ undefined (12) -
rb
_ define _ singleton _ method (12) -
rb
_ obj _ singleton _ methods (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
singleton
_ methods (12) - クラス/メソッドの定義 (12)
検索結果
-
Numeric (6.0)
-
数値を表す抽象クラスです。Integer や Float などの数値クラス は Numeric のサブクラスとして実装されています。
...o - - -
round | o o - - o o -
singleton_method_added | o - - - - - -
size | - - o......remainder | o o - - -
round | o o o o -
singleton_method_added | o - - - -
size | - o - - -... -
Object
# method(name) -> Method (6.0) -
オブジェクトのメソッド name をオブジェクト化した Method オブジェクトを返します。
...ror 定義されていないメソッド名を引数として与えると発生します。
//emlist[][ruby]{
me = -365.method(:abs)
p me #=> #<Method: Integer#abs>
p me.call #=> 365
//}
@see Module#instance_method, Method, BasicObject#__send__, Object#send, Kernel.#eval, Object#singleton_method... -
Profiler
_ _ (6.0) -
プロファイラの実装です。 Profiler__.start_profile 実行から、Profiler__.stop_profile までの 区間の実行コードのプロファイルを取得します。
...3.29 1.96 0.07 15 4.67 4.67 Module#extend_object
3.29 2.03 0.07 133 0.53 0.53 Kernel.singleton_method_added
2.82 2.09 0.06 28 2.14 2.86 Module#attr
1.88 2.13 0.04 19 2.11 2.11 Module#pr...