261件ヒット
[1-100件を表示]
(0.126秒)
ライブラリ
- ビルトイン (41)
- erb (11)
- openssl (33)
- rake (11)
-
rake
/ rdoctask (11) -
rinda
/ rinda (55) -
rinda
/ tuplespace (11) -
rubygems
/ server (11) - socket (11)
クラス
- Array (19)
- ERB (11)
-
Gem
:: Server (11) - Object (11)
-
OpenSSL
:: X509 :: Name (33) -
RDoc
:: Options (33) -
Rake
:: RDocTask (11) -
Rinda
:: DRbObjectTemplate (22) -
Rinda
:: TupleSpace (11) -
Rinda
:: TupleSpaceProxy (11) -
Socket
:: Option (11) - String (11)
モジュール
- Kernel (11)
キーワード
- === (11)
-
DEFAULT
_ OBJECT _ TYPE (11) -
DOC
_ TEMPLATE (11) - DRbObjectTemplate (11)
-
OBJECT
_ TYPE _ TEMPLATE (11) -
add
_ entry (11) - file (11)
- new (22)
- notify (22)
- pack (19)
- pack テンプレート文字列 (11)
- rdoc (11)
-
respond
_ to? (11) - template (22)
-
template
_ dir (11) -
template
_ dir= (11) - unpack (22)
- オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (11)
検索結果
先頭5件
-
Rinda
:: Template (21102.0) -
タプルのマッチングのためのクラスです。 ユーザがこのクラスを直接使うことはありません。
...=== 例
require 'rinda/rinda'
template = Rinda::Template.new(['abc', nil, nil])
template.match(['abc', 2, 5]) # => true
template.match(['hoge', 2, 5]) # => false
template = Rinda::Template.new([String, Integer, nil])
template.match(['abc', 2, 5]) # => true
template.match(['abcd', 2......rue
template = Rinda::Template.new([/^abc/, Integer, nil])
template.match([/^abc/, Integer, nil]) # => true
template.match(['abc', 2, 5]) # => true
template.match(['def', 2, 5]) # => false
template = Rinda::Template.new({'name' => String, 'age' => Integer})
template.ma......tch({'name' => 'seki', 'age' => 0x20}) # => true
template.match({'name' => :seki, 'age' => 0x20}) # => false... -
RDoc
:: Options # template _ dir -> String | nil (12217.0) -
コマンドライン引数の --template オプションで指定したテンプレートに対応 するディレクトリを返します。
...コマンドライン引数の --template オプションで指定したテンプレートに対応
するディレクトリを返します。
オプションの解析前は nil を返します。... -
RDoc
:: Options # template _ dir=(val) (12217.0) -
コマンドライン引数の --template オプションで指定したテンプレートに対応 するディレクトリを設定します。
...コマンドライン引数の --template オプションで指定したテンプレートに対応
するディレクトリを設定します。
@param val パスを文字列で指定します。... -
RDoc
:: Options # template -> String (9217.0) -
コマンドライン引数の --template オプションで指定した名前を文字列の配列 で返します。
...コマンドライン引数の --template オプションで指定した名前を文字列の配列
で返します。
指定しなかった場合は 'html' を返します。... -
Rinda
:: DRbObjectTemplate (9000.0) -
-
OpenSSL
:: X509 :: Name :: OBJECT _ TYPE _ TEMPLATE -> { String => Integer } (6301.0) -
属性型に対応する ASN.1の型を格納したハッシュです。
...OpenSSL::X509::Name.new
などでデフォルト値として使われます。
キーは属性型文字列で、ASN.1の型を表わす整数が対応します。
以下の文字列がキーです。
'C', 'countryName', 'serialNumber', 'dnQualifier',
'DC', 'domainComponent', 'emailAddress'... -
Rinda
:: TupleSpace # notify(event , pattern , sec = nil) -> Rinda :: NotifyTemplateEntry (6300.0) -
event で指定した種類のイベントの監視を開始します。
...り値の Rinda::NotifyTemplateEntry を経由し、
Rinda::NotifyTemplateEntry#each を用いて報告を受け取ります。
sec で監視期間を秒数で指定できます。 nil で無限に監視し続けます。
event として以下の3つを指定できます。
* 'write' : タプル......ついては lib:rinda/rinda#tuplepattern を
参照してください。
@param event 監視対象のイベント(文字列)
@param pattern 監視対象となるタプルのパターン
@param sec 監視期間の長さ(秒数)
=== 例
require 'rinda/tuplespace'
tuplespace = Rinda::TupleSpa......ce.new
observer = tuplespace.notify("write", ["xyz", nil, nil])
Therad.new do
observer.each{|event, tuple| p event, tuple }
end
tuplespace.write(["xyz", 0, 1])
tuplespace.write(["pqr", 0, 1])
tuplespace.write(["xyz", 4, 2])... -
Rinda
:: TupleSpaceProxy # notify(ev , tuple , sec = nil) -> Rinda :: NotifyTemplateEntry (6300.0) -
event で指定した種類のイベントの監視を開始します。
...種類のイベントの監視を開始します。
内部的にはリモートオブジェクトの Rinda::TupleSpace#notify にフォワードされます。
詳細は Rinda::TupleSpace#notify 参照してください
@param event 監視対象のイベント(文字列)
@param pattern 監視対... -
Kernel
# file(*args) { . . . } -> Rake :: FileTask (6212.0) -
ファイルタスクを定義します。
...ル名を指定します。
例:
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
end
end
@see Rake::Task.define_task... -
Gem
:: Server :: DOC _ TEMPLATE -> String (6201.0) -
ドキュメントのテンプレートを表す文字列です。
ドキュメントのテンプレートを表す文字列です。