324件ヒット
[201-300件を表示]
(0.077秒)
別のキーワード
ライブラリ
- ビルトイン (60)
- delegate (36)
- forwardable (48)
- json (132)
-
rdoc
/ context (24) -
rdoc
/ stats (12) - win32ole (12)
クラス
- Delegator (36)
- Object (36)
-
RDoc
:: Context (24) -
RDoc
:: Stats (12) - WIN32OLE (12)
モジュール
- Enumerable (24)
- Forwardable (24)
-
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (36) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - SingleForwardable (24)
キーワード
-
def
_ delegators (24) -
def
_ instance _ delegators (12) -
def
_ single _ delegators (12) - grep (24)
-
num
_ methods (12) -
ole
_ get _ methods (12) -
ongoing
_ visibility= (12) -
protected
_ methods (12) -
public
_ methods (12) - send (24)
-
set
_ visibility _ for (12) -
singleton
_ methods (12) -
to
_ json (108) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12)
検索結果
先頭5件
-
Forwardable
# def _ delegators(accessor , *methods) -> () (6215.0) -
メソッドの委譲先をまとめて設定します。
...am methods 委譲するメソッドのリスト
委譲元のオブジェクトで methods のそれぞれのメソッドが呼び出された場合に、
委譲先のオブジェクトの同名のメソッドへ処理が委譲されるようになります。
def_delegators は def_instance_delega......tors の別名になります。
また、以下の 2 つの例は同じ意味です。
def_delegators :@records, :size, :<<, :map
def_delegator :@records, :size
def_delegator :@records, :<<
def_delegator :@records, :map
@see Forwardable#def_delegator... -
Forwardable
# def _ instance _ delegators(accessor , *methods) -> () (6215.0) -
メソッドの委譲先をまとめて設定します。
...am methods 委譲するメソッドのリスト
委譲元のオブジェクトで methods のそれぞれのメソッドが呼び出された場合に、
委譲先のオブジェクトの同名のメソッドへ処理が委譲されるようになります。
def_delegators は def_instance_delega......tors の別名になります。
また、以下の 2 つの例は同じ意味です。
def_delegators :@records, :size, :<<, :map
def_delegator :@records, :size
def_delegator :@records, :<<
def_delegator :@records, :map
@see Forwardable#def_delegator... -
SingleForwardable
# def _ delegators(accessor , *methods) -> () (6215.0) -
メソッドの委譲先をまとめて設定します。
...m methods 委譲するメソッドのリスト
委譲元のオブジェクトで methods のそれぞれのメソッドが呼び出された場合に、
委譲先のオブジェクトの同名のメソッドへ処理が委譲されるようになります。
def_delegators は def_singleton_delega......tors の別名になります。
また、以下の 2 つの例は同じ意味です。
def_delegators :@records, :size, :<<, :map
def_delegator :@records, :size
def_delegator :@records, :<<
def_delegator :@records, :map
@see SingleForwardable#def_delegator... -
SingleForwardable
# def _ single _ delegators(accessor , *methods) -> () (6215.0) -
メソッドの委譲先をまとめて設定します。
...m methods 委譲するメソッドのリスト
委譲元のオブジェクトで methods のそれぞれのメソッドが呼び出された場合に、
委譲先のオブジェクトの同名のメソッドへ処理が委譲されるようになります。
def_delegators は def_singleton_delega......tors の別名になります。
また、以下の 2 つの例は同じ意味です。
def_delegators :@records, :size, :<<, :map
def_delegator :@records, :size
def_delegator :@records, :<<
def_delegator :@records, :map
@see SingleForwardable#def_delegator... -
RDoc
:: Stats # num _ methods -> Integer (6202.0) -
解析したメソッドの数を返します。
解析したメソッドの数を返します。 -
RDoc
:: Context # ongoing _ visibility=(vis) (6117.0) -
Change the default visibility for new methods
...Change the default visibility for new methods... -
Enumerable
# grep(pattern) -> [object] (6107.0) -
pattern === item が成立する要素を全て含んだ配列を返します。
...す。
@param pattern 「===」メソッドを持つオブジェクトを指定します。
//emlist[例][ruby]{
['aa', 'bb', 'cc', 'dd', 'ee'].grep(/[bc]/) # => ["bb", "cc"]
Array.instance_methods.grep(/gr/) # => [:grep, :grep_v, :group_by]
//}
@see Enumerable#select
@see Enumerable#grep_v... -
Enumerable
# grep(pattern) {|item| . . . } -> [object] (6107.0) -
pattern === item が成立する要素を全て含んだ配列を返します。
...す。
@param pattern 「===」メソッドを持つオブジェクトを指定します。
//emlist[例][ruby]{
['aa', 'bb', 'cc', 'dd', 'ee'].grep(/[bc]/) # => ["bb", "cc"]
Array.instance_methods.grep(/gr/) # => [:grep, :grep_v, :group_by]
//}
@see Enumerable#select
@see Enumerable#grep_v... -
RDoc
:: Context # set _ visibility _ for(methods , visibility , singleton = false) -> () (224.0) -
methods で指定した RDoc::AnyMethod、RDoc::Attr の内、 singleton で指定した条件と一致するメソッドすべての可視性を visibility に設定します。
...
methods で指定した RDoc::AnyMethod、RDoc::Attr の内、
singleton で指定した条件と一致するメソッドすべての可視性を visibility
に設定します。
@param methods RDoc::AnyMethod、RDoc::Attr オブジェクトの配
列を指定します。
@param vi......sibility 可視性を :public, :protected, :private の内のいずれか
で指定します。
@param singleton 特異メソッドの可視性を変更する場合は true、そうでない
場合は false を指定します。...