別のキーワード
ライブラリ
- ビルトイン (268)
- forwardable (44)
- profiler (6)
-
rdoc
/ context (11) - singleton (44)
クラス
- Array (22)
- BasicObject (33)
- Hash (22)
- Module (59)
- Object (121)
-
RDoc
:: Context (11)
モジュール
- SingleForwardable (44)
- Singleton (33)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) -
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) - Numeric (11)
-
Profiler
_ _ (6) - Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
- Ruby用語集 (11)
- Singleton (11)
- clone (33)
-
def
_ delegator (11) -
def
_ delegators (11) -
def
_ single _ delegator (11) -
def
_ single _ delegators (11) -
define
_ singleton _ method (22) - dup (33)
-
initialize
_ copy (11) - instance (11)
-
irb
/ completion (11) - method (11)
-
method
_ added (11) -
method
_ removed (11) -
method
_ undefined (11) - methods (11)
-
private
_ class _ method (15) -
private
_ methods (11) -
protected
_ methods (11) -
public
_ methods (11) -
rb
_ define _ singleton _ method (11) -
rb
_ obj _ singleton _ methods (11) -
rb
_ singleton _ class (11) -
rb
_ singleton _ class _ attached (11) -
rb
_ singleton _ class _ clone (11) -
rb
_ singleton _ class _ new (11) -
rdoc
/ parser / ruby (11) -
ruby 1
. 8 . 3 feature (11) -
set
_ visibility _ for (11) -
singleton
_ class (11) -
singleton
_ class? (11) -
singleton
_ method (11) -
singleton
_ method _ added (11) -
singleton
_ method _ removed (11) -
singleton
_ method _ undefined (11) -
singleton
_ methods (11) - クラス/メソッドの定義 (11)
検索結果
先頭5件
-
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...