177件ヒット
[101-177件を表示]
(0.013秒)
別のキーワード
ライブラリ
- ビルトイン (45)
- openssl (12)
- rake (12)
-
rake
/ rdoctask (24) -
rinda
/ rinda (24) -
rinda
/ tuplespace (12) - socket (12)
クラス
- Array (21)
- Object (12)
-
OpenSSL
:: X509 :: Name (12) -
RDoc
:: Options (36) -
Rake
:: RDocTask (24) -
Rinda
:: DRbObjectTemplate (12) -
Rinda
:: TupleSpace (12) -
Rinda
:: TupleSpaceProxy (12) -
Socket
:: Option (12) - String (12)
モジュール
- Kernel (12)
キーワード
- === (12)
-
add
_ entry (12) - file (12)
- notify (24)
- pack (21)
-
respond
_ to? (12) - template (24)
- template= (12)
-
template
_ dir (12) -
template
_ dir= (12) - unpack (24)
検索結果
先頭5件
-
String
# unpack(template) -> Array (124.0) -
Array#pack で生成された文字列を テンプレート文字列 template にしたがってアンパックし、 それらの要素を含む配列を返します。
...Array#pack で生成された文字列を
テンプレート文字列 template にしたがってアンパックし、
それらの要素を含む配列を返します。
@param template pack テンプレート文字列
@return オブジェクトの配列
以下にあげるもの... -
Socket
:: Option # unpack(template) -> Array (102.0) -
data に対し String#unpack を呼び出し、その結果を返します。
data に対し String#unpack を呼び出し、その結果を返します。
このメソッドは過去との互換性のために存在します。 -
Rinda
:: TupleSpace # notify(event , pattern , sec = nil) -> Rinda :: NotifyTemplateEntry (101.0) -
event で指定した種類のイベントの監視を開始します。
...した場合にのみ報告されます。
イベントが生じた場合、
このメソッドの返り値の Rinda::NotifyTemplateEntry を経由し、
Rinda::NotifyTemplateEntry#each を用いて報告を受け取ります。
sec で監視期間を秒数で指定できます。 nil で無限に... -
Rinda
:: TupleSpaceProxy # notify(ev , tuple , sec = nil) -> Rinda :: NotifyTemplateEntry (101.0) -
event で指定した種類のイベントの監視を開始します。
event で指定した種類のイベントの監視を開始します。
内部的にはリモートオブジェクトの Rinda::TupleSpace#notify にフォワードされます。
詳細は Rinda::TupleSpace#notify 参照してください
@param event 監視対象のイベント(文字列)
@param pattern 監視対象となるタプルのパターン
@param sec 監視期間の長さ(秒数) -
Object
# respond _ to?(name , include _ all = false) -> bool (61.0) -
オブジェクトがメソッド name を持つとき真を返します。
...e Template
def main
start
template_method
finish
end
def start
puts "start"
end
def template_method
raise NotImplementedError.new
end
def finish
puts "finish"
end
end
class ImplTemplateMethod
include Template
def template_method
"implement template......tImplTemplateMethod
include Template
# not implement template_method
end
puts ImplTemplateMethod.new.respond_to?(:template_method) # => true
# NotImplementedError が発生しているが、Rubyによる実装部のため true を返す
puts NotImplTemplateMethod.new.respond_to?(:template_meth... -
Kernel
# file(*args) { . . . } -> Rake :: FileTask (13.0) -
ファイルタスクを定義します。
...am args ファイル名と依存ファイル名を指定します。
例:
file "config.cfg" => ["config.template"] do
open("config.cfg", "w") do |outfile|
open("config.template") do |infile|
while line = infile.gets
outfile.puts line
end
end
e... -
OpenSSL
:: X509 :: Name # add _ entry(oid , value , type = nil) (7.0) -
新しい属性を追加します。
...を追加します。
@param oid 属性型文字列
@param value 属性値文字列
@param type 属性値の(ASN.1の)型、省略時は OpenSSL::X509::Name::OBJECT_TYPE_TEMPLATE と oid から型が決まる
@raise OpenSSL::X509::NameError 属性の追加に失敗した場合に発生します...