るりまサーチ

最速Rubyリファレンスマニュアル検索!
567件ヒット [501-567件を表示] (0.013秒)
トップページ > クエリ:singleton[x]

別のキーワード

  1. singleton dup
  2. singleton clone
  3. singleton instance
  4. object define_singleton_method
  5. _builtin define_singleton_method

ライブラリ

クラス

モジュール

検索結果

<< < ... 4 5 6 >>

Profiler__ (6.0)

プロファイラの実装です。 Profiler__.start_profile 実行から、Profiler__.stop_profile までの 区間の実行コードのプロファイルを取得します。

...end
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 Modul...

Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (6.0)

Rubyで使われる記号の意味(正規表現の複雑な記号は除く) ex q num per and or  plus minus ast slash hat sq  period comma langl rangl eq tilde  dollar at under lbrarbra  lbra2rbra2 lbra3rbra3 dq colon ac  backslash semicolon

...er

クラス定義でスーパークラスを指定しています。
d:spec/def#class。

: class << obj

特異クラス定義。d:spec/def#singleton_classを参照。

===[a:rangl] >

: 3 > 5

「より大きい」比較演算子

: 3 >= 5

「より大きいか等しい」比較演算子...

SingleForwardable#def_delegator(accessor, method, ali = method) -> () (6.0)

メソッドの委譲先を設定します。

...のオブジェクトの method へ処理が委譲されるようになります。

委譲元と委譲先のメソッド名が同じ場合は, ali を省略することが可能です。

def_delegator は def_singleton_delegator の別名になります。

@see SingleForwardable#def_delegators...

SingleForwardable#def_delegators(accessor, *methods) -> () (6.0)

メソッドの委譲先をまとめて設定します。

...た場合に、
委譲先のオブジェクトの同名のメソッドへ処理が委譲されるようになります。

def_delegators は def_singleton_delegators の別名になります。

また、以下の 2 つの例は同じ意味です。

def_delegators :@records, :size, :<<, :map...

SingleForwardable#def_single_delegator(accessor, method, ali = method) -> () (6.0)

メソッドの委譲先を設定します。

...のオブジェクトの method へ処理が委譲されるようになります。

委譲元と委譲先のメソッド名が同じ場合は, ali を省略することが可能です。

def_delegator は def_singleton_delegator の別名になります。

@see SingleForwardable#def_delegators...

絞り込み条件を変える

SingleForwardable#def_single_delegators(accessor, *methods) -> () (6.0)

メソッドの委譲先をまとめて設定します。

...た場合に、
委譲先のオブジェクトの同名のメソッドへ処理が委譲されるようになります。

def_delegators は def_singleton_delegators の別名になります。

また、以下の 2 つの例は同じ意味です。

def_delegators :@records, :size, :<<, :map...

irb/completion (6.0)

irb の completion 機能を提供するライブラリです。

...foo.respond_to?
foo.__id__ foo.inspect foo.send
foo.__send__ foo.instance_eval foo.singleton_methods
foo.class foo.instance_of? foo.taint
foo.clone foo.instance_variables foo.tainted?
foo.display...
<< < ... 4 5 6 >>