るりまサーチ

最速Rubyリファレンスマニュアル検索!
627件ヒット [1-100件を表示] (0.108秒)
トップページ > クエリ:l[x] > クエリ:Single[x]

別のキーワード

  1. matrix l
  2. kernel $-l
  3. _builtin $-l
  4. lupdecomposition l
  5. l matrix

ライブラリ

モジュール

検索結果

<< 1 2 3 ... > >>

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

SingleForwardable#def_delegators(accessor, *methods) -> () (15101.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...

絞り込み条件を変える

<< 1 2 3 ... > >>