261件ヒット
[1-100件を表示]
(0.056秒)
ライブラリ
- ビルトイン (45)
- erb (12)
- openssl (24)
-
rake
/ rdoctask (24) -
rinda
/ rinda (60) -
rinda
/ tuplespace (12) -
rubygems
/ server (12)
クラス
- Array (21)
- ERB (12)
-
Gem
:: Server (12) - Object (12)
-
OpenSSL
:: X509 :: Name (24) -
RDoc
:: Options (36) -
Rake
:: RDocTask (24) -
Rinda
:: DRbObjectTemplate (24) -
Rinda
:: TupleSpace (12) -
Rinda
:: TupleSpaceProxy (12) - String (12)
キーワード
- === (12)
-
DEFAULT
_ OBJECT _ TYPE (12) -
DOC
_ TEMPLATE (12) - DRbObjectTemplate (12)
-
add
_ entry (12) - new (24)
- notify (24)
- pack (21)
- pack テンプレート文字列 (12)
- rdoc (12)
-
respond
_ to? (12) - template (24)
- template= (12)
-
template
_ dir (12) -
template
_ dir= (12) - unpack (12)
- オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (12)
検索結果
先頭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, 5]) # =......mplate = 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.match({'nam......e' => '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 パスを文字列で指定します。... -
Gem
:: Server :: DOC _ TEMPLATE -> String (12201.0) -
ドキュメントのテンプレートを表す文字列です。
ドキュメントのテンプレートを表す文字列です。 -
Rinda
:: DRbObjectTemplate (12000.0) -
-
Rake
:: RDocTask # template=(template) (9208.0) -
使用するテンプレートをセットします。
...使用するテンプレートをセットします。
@param template 使用するテンプレートを指定します。... -
RDoc
:: Options # template -> String (9117.0) -
コマンドライン引数の --template オプションで指定した名前を文字列の配列 で返します。
...コマンドライン引数の --template オプションで指定した名前を文字列の配列
で返します。
指定しなかった場合は 'html' を返します。... -
Rake
:: RDocTask # template -> String (9101.0) -
使用するテンプレートを返します。 デフォルトは RDoc のデフォルトです。
...使用するテンプレートを返します。
デフォルトは RDoc のデフォルトです。... -
Object
# respond _ to?(name , include _ all = false) -> bool (6172.0) -
オブジェクトがメソッド name を持つとき真を返します。
...が メソッド name に応答できることをいいます。
Windows での Process.fork や GNU/Linux での File.lchmod の
ような NotImplementedError が発生する場合は false を返します。
※ NotImplementedError が発生する場合に false を返すのは
Rubyの組み込......otImplementedError が発生する場合は true を返します。
メソッドが定義されていない場合は、Object#respond_to_missing? を呼
び出してその結果を返します。
@param name Symbol または文字列で指定するメソッド名です。
@param include_all priva......njour"
end
end
class D
private
def hello
"Guten Tag"
end
end
list = [F.new,D.new]
list.each{|it| puts it.hello if it.respond_to?(:hello)}
#=> Bonjour
list.each{|it| it.instance_eval("puts hello if it.respond_to?(:hello, true)")}
#=> Bonjour
# Guten Tag
module Template
def main...