るりまサーチ

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

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. pop n_bytes
  3. pop n_mails
  4. openssl n
  5. openssl n=

検索結果

<< 1 2 3 ... > >>

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...
...te = 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({'name' =...
...> 'seki', 'age' => 0x20}) # => true
template
.match({'name' => :seki, 'age' => 0x20}) # => false...

RDoc::Options#template -> String (9217.0)

コマンドライン引数の --template オプションで指定した名前を文字列の配列 で返します。

...コマンドライン引数の --template オプションで指定した名前を文字列の配列
で返します。

指定しなかった場合は 'html' を返します。...

RDoc::Options#template_dir -> String | nil (9217.0)

コマンドライン引数の --template オプションで指定したテンプレートに対応 するディレクトリを返します。

...コマンドライン引数の --template オプションで指定したテンプレートに対応
するディレクトリを返します。

オプションの解析前は nil を返します。...

OpenSSL::X509::Name::OBJECT_TYPE_TEMPLATE -> { String => Integer } (9201.0)

属性型に対応する ASN.1の型を格納したハッシュです。

...ASN.1の型を格納したハッシュです。

OpenSSL::X509::Name.parse や OpenSSL::X509::Name.new
などでデフォルト値として使われます。

キーは属性型文字列で、ASN.1の型を表わす整数が対応します。

以下の文字列がキーです。
'C', 'countryNam...
...e', 'serialNumber', 'dnQualifier',
'DC', 'domainComponent', 'emailAddress'...

RDoc::Options#template_dir=(val) (9117.0)

コマンドライン引数の --template オプションで指定したテンプレートに対応 するディレクトリを設定します。

...コマンドライン引数の --template オプションで指定したテンプレートに対応
するディレクトリを設定します。

@param val パスを文字列で指定します。...

絞り込み条件を変える

Rinda::DRbObjectTemplate.new(uri = nil, ref = nil) (9100.0)

@todo

...@todo

Creates a new DRbObjectTemplate that will match against +uri+ and
+ref+....

Rinda::DRbObjectTemplate (9000.0)

String#unpack(template) -> Array (6535.0)

Array#pack で生成された文字列を テンプレート文字列 template にしたがってアンパックし、 それらの要素を含む配列を返します。

...プレート文字列 template にしたがってアンパックし、
それらの要素を含む配列を返します。

@param template pack テンプレート文字列
@return オブジェクトの配列


以下にあげるものは、Array#pack、String#unpack
のテンプレー...
...字のシステム依存性

各テンプレート文字の説明の中で、
short や long はシステムによらずそれぞれ 2, 4バイトサ
イズの数値(32ビットマシンで一般的なshort, longのサイズ)を意味していま
す。s, S, l, L に対しては直後に _ または...
...! を "s_" あるいは "s!" のように
続けることでシステム依存の short, long のサイズにすることもできます。

i, I (int)のサイズは常にシステム依存であり、n, N, v, V
のサイズは常にシステム依存ではない(!をつけられない)ことに...
...ト文字列 template にしたがってアンパックし、
それらの要素を含む配列を返します。

@param template pack テンプレート文字列
@return オブジェクトの配列


以下にあげるものは、Array#pack、String#unpack、String#unpack1
のテン...

OpenSSL::X509::Name.parse_openssl(str, template=OBJECT_TYPE_TEMPLATE) -> OpenSSL::X509::Name (6410.0)

文字列をパースして OpenSSL::X509::Name オブジェクトを返します。

...ースして OpenSSL::X509::Name オブジェクトを返します。

例:
require 'openssl'
OpenSSL::X509::Name.parse('/C=JP/ST=Kanagawa/L=Yokohama/O=Example Company/OU=Lab3/CN=foobar/emailAddress=foobar@lab3.example.co.jp')

@param str パースする文字列
@param template 属性型に対...
<< 1 2 3 ... > >>