るりまサーチ

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

別のキーワード

  1. rinda/rinda new
  2. rinda/rinda rinda
  3. rinda/rinda template
  4. rinda/rinda take
  5. rinda/rinda write

ライブラリ

検索結果

Rinda::Template (23024.0)

タプルのマッチングのためのクラスです。 ユーザがこのクラスを直接使うことはありません。

...= 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]) # => true

template = Rinda::Template...
...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, '...