るりまサーチ

最速Rubyリファレンスマニュアル検索!
13件ヒット [1-13件を表示] (0.093秒)
トップページ > クエリ:l[x] > クエリ:match[x] > 種類:クラス[x]

別のキーワード

  1. matrix l
  2. kernel $-l
  3. _builtin $-l
  4. lupdecomposition l
  5. l matrix

ライブラリ

キーワード

検索結果

Rinda::Template (6055.0)

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

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

template = Ri...
...nda::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...

Net::Telnet (6007.0)

このクラスは telnet のクライアント機能を提供します。

...このクラスは telnet のクライアント機能を提供します。


telnet でリモートホストにログインしてシェル経由で
コマンドを実行することを考えてみましょう。
これを Net::Telnet で実現するためには、
まず Net::Telnet.new に "Host"...
...ジェクトを作り、 Net::Telnet#login で
ユーザ名とパスワードを送ってログインし、
Net::Telnet#cmd でコマンドを
実行、最後に IO#close で接続を閉じます。
Net::Telnet#waitfor, Net::Telnet#print,
Net::Telnet#puts, Net::Telnet#write などと
いったメソ...
...Telnet のオブジェクトは SMTP や HTTP のような telnet で
ないサービスにも利用できます。この場合には
Net::Telnet.new に "Port" オプションを与えることで
ポートを指定する必要があるでしょう。また、
"Telnetmode" オプションに false...