684件ヒット
[1-100件を表示]
(0.065秒)
種類
ライブラリ
- ビルトイン (168)
- forwardable (84)
- openssl (36)
- pp (12)
- prettyprint (12)
- psych (36)
-
rdoc
/ context (72) -
rdoc
/ parser / ruby (12) -
rdoc
/ single _ class (12) -
rdoc
/ top _ level (48) - singleton (48)
- tracer (12)
クラス
- BasicObject (36)
- Encoding (48)
- Module (12)
- Object (60)
-
OpenSSL
:: SSL :: SSLContext (12) - PP (12)
- PrettyPrint (12)
-
Psych
:: Handler (12) -
Psych
:: Nodes :: Scalar (24) -
RDoc
:: Context (72) -
RDoc
:: Parser :: Ruby (12) -
RDoc
:: TopLevel (48) - Tracer (12)
モジュール
-
OpenSSL
:: SSL (24) - Process (12)
- SingleForwardable (72)
- Singleton (36)
キーワード
- MACCYRILLIC (12)
- MACICELAND (12)
- MacCyrillic (12)
- MacIceland (12)
-
OP
_ SINGLE _ DH _ USE (12) -
OP
_ SINGLE _ ECDH _ USE (12) - SINGLE (12)
-
SINGLE
_ QUOTED (12) - SingleClass (12)
- SingleForwardable (12)
- Singleton (12)
-
add
_ class (12) -
add
_ class _ or _ module (24) -
add
_ module (12) -
all
_ classes _ and _ modules (12) - classes (12)
-
clock
_ gettime (12) - clone (12)
-
def
_ delegator (12) -
def
_ delegators (12) -
def
_ single _ delegator (12) -
def
_ single _ delegators (12) -
define
_ singleton _ method (24) - delegate (12)
- dup (12)
-
each
_ classmodule (12) -
find
_ class _ named (12) -
find
_ local _ symbol (12) - instance (12)
- irb (12)
- manual page (12)
- new (12)
-
rb
_ define _ singleton _ method (12) -
rb
_ obj _ singleton _ methods (12) -
rb
_ singleton _ class (12) -
rb
_ singleton _ class _ attached (12) -
rb
_ singleton _ class _ clone (12) -
rb
_ singleton _ class _ new (12) -
rdoc
/ single _ class (12) -
run
_ single _ final (12) - scalar (12)
-
set
_ visibility _ for (12) -
single
_ delegate (12) -
singleline
_ format (12) -
singleline
_ pp (12) - singleton (12)
-
singleton
_ class (12) -
singleton
_ class? (12) -
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
singleton
_ methods (12)
検索結果
先頭5件
-
Tracer
:: Single -> Tracer (24201.0) -
@todo
@todo -
SingleForwardable
# def _ single _ delegator(accessor , method , ali = method) -> () (21301.0) -
メソッドの委譲先を設定します。
...メソッド
@param ali 委譲元のメソッド
委譲元のオブジェクトで ali が呼び出された場合に、
委譲先のオブジェクトの method へ処理が委譲されるようになります。
委譲元と委譲先のメソッド名が同じ場合は, ali を省略するこ......とが可能です。
def_delegator は def_singleton_delegator の別名になります。
@see SingleForwardable#def_delegators... -
SingleForwardable
# def _ single _ delegators(accessor , *methods) -> () (21301.0) -
メソッドの委譲先をまとめて設定します。
...delegators は def_singleton_delegators の別名になります。
また、以下の 2 つの例は同じ意味です。
def_delegators :@records, :size, :<<, :map
def_delegator :@records, :size
def_delegator :@records, :<<
def_delegator :@records, :map
@see SingleForwardable#def_deleg... -
SingleForwardable
# single _ delegate(hash) -> () (21301.0) -
メソッドの委譲先を設定します。
...メソッドの委譲先を設定します。
@param hash 委譲先のメソッドがキー、委譲先のオブジェクトが値の
Hash を指定します。キーは Symbol、
String かその配列で指定します。
@see Forwardable#delegate... -
SingleForwardable (18006.0)
-
オブジェクトに対し、メソッドの委譲機能を定義するモジュールです。
...quire 'forwardable'
g = Goo.new
g.extend SingleForwardable
g.def_delegator("@out", :puts)
g.puts ...
また、SingleForwardable はクラスやモジュールに対して以下のようにする事もできます。
require 'forwardable'
class Implementation
def self.service......viced!"
end
end
module Facade
extend SingleForwardable
def_delegator :Implementation, :service
end
Facade.service # => serviced!
もし Forwardable と SingleForwardable の両方を使いたい場合、
def_instance_delegator と def_single_delegator メソッドの方を... -
OpenSSL
:: SSL :: OP _ SINGLE _ DH _ USE -> Integer (15201.0) -
一時的 DH 鍵を使うとき毎回鍵を生成するフラグです。
...生成したときに「small subgroup attack」を防ぐために必要です。
「安全な」素数を使った場合は必ずしも必要なオプションでは
ありませんが、このオプションを使うことは推奨されています。
OpenSSL::SSL::SSLContext#options= で利用... -
OpenSSL
:: SSL :: OP _ SINGLE _ ECDH _ USE -> Integer (15201.0) -
@todo OpenSSL::SSL::SSLContext#options= で利用します。
...@todo
OpenSSL::SSL::SSLContext#options= で利用します。... -
Module
# singleton _ class? -> bool (15200.0) -
self が特異クラスの場合に true を返します。そうでなければ false を返し ます。
...self が特異クラスの場合に true を返します。そうでなければ false を返し
ます。
//emlist[例][ruby]{
class C
end
C.singleton_class? # => false
C.singleton_class.singleton_class? # => true
//}... -
SingleForwardable
# def _ delegator(accessor , method , ali = method) -> () (15101.0) -
メソッドの委譲先を設定します。
...メソッド
@param ali 委譲元のメソッド
委譲元のオブジェクトで ali が呼び出された場合に、
委譲先のオブジェクトの method へ処理が委譲されるようになります。
委譲元と委譲先のメソッド名が同じ場合は, ali を省略するこ......とが可能です。
def_delegator は def_singleton_delegator の別名になります。
@see SingleForwardable#def_delegators...