るりまサーチ

最速Rubyリファレンスマニュアル検索!
36件ヒット [1-36件を表示] (0.115秒)

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils rm_r
  5. fileutils cp_r

ライブラリ

検索結果

StringScanner#exist?(regexp) -> Integer | nil (21207.0)

スキャンポインタの位置から,次にマッチする文字列の末尾までの長さを返します。

...ポインタを進めません。

@
param regexp マッチに用いる正規表現を指定します。

//emlist[例][ruby]{
r
equire 'strscan'

s = StringScanner.new('test string')
s.exist?(/s/) # => 3
s.exist?(//) # => 0
s.scan(/\w+/) # => "test"
s.exist?(/s/) # => 2
s.exist?(/e/) # => nil
//}...

Shell::CommandProcessor#exist?(file) -> bool (21113.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@
param file ファイル名を表す文字列か IO オブジェクトを指定します。

@
see FileTest.#exist? FileTest.#exists?...

Shell::Filter#exist?(file) -> bool (21113.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@
param file ファイル名を表す文字列か IO オブジェクトを指定します。

@
see FileTest.#exist? FileTest.#exists?...

Shell::CommandProcessor#exists?(file) -> bool (6013.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@
param file ファイル名を表す文字列か IO オブジェクトを指定します。

@
see FileTest.#exist? FileTest.#exists?...

Shell::Filter#exists?(file) -> bool (6013.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@
param file ファイル名を表す文字列か IO オブジェクトを指定します。

@
see FileTest.#exist? FileTest.#exists?...

絞り込み条件を変える