るりまサーチ

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

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. openssl n
  3. rsa n=
  4. rsa n
  5. openssl n=

検索結果

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

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

... nil を返します。

このメソッドはマッチが成功してもスキャンポインタを進めません。

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

//emlist[例][ruby]{
require '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
//}...

Pathname#exist? -> bool (21102.0)

FileTest.exist?(self.to_s) と同じです。

...FileTest.exist?(self.to_s) と同じです。


@see FileTest.#exist?...

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

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

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

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

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

Shell::ProcessController#waiting_jobs_exist? -> bool (12202.0)

待機中のジョブが存在する場合は真を返します。 そうでない場合は偽を返します。

待機中のジョブが存在する場合は真を返します。
そうでない場合は偽を返します。

Net::HTTPGenericRequest#body_exist? -> bool (12102.0)

このメソッドは obsolete です。

...このメソッドは obsolete です。


N
et::HTTPGenericRequest#response_body_permitted?
の別名です。...

絞り込み条件を変える

Shell::ProcessController#active_jobs_exist? -> bool (9102.0)

実行中のジョブが存在する場合は真を返します。 そうでない場合は偽を返します。

実行中のジョブが存在する場合は真を返します。
そうでない場合は偽を返します。

Shell::ProcessController#jobs_exist? -> bool (9102.0)

実行中か待機中のジョブが存在する場合は真を返します。 そうでない場合は偽を返します。

実行中か待機中のジョブが存在する場合は真を返します。
そうでない場合は偽を返します。

Pathname#unlink -> Integer (6113.0)

self が指すディレクトリあるいはファイルを削除します。

...self が指すディレクトリあるいはファイルを削除します。

//emlist[例][ruby]{
require "pathname"

pathname = Pathname("/path/to/sample")
pathname.exist? # => true
pathname.unlink # => 1
pathname.exist? # => false
//}...

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

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

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

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

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

Pathname#delete -> Integer (3113.0)

self が指すディレクトリあるいはファイルを削除します。

...self が指すディレクトリあるいはファイルを削除します。

//emlist[例][ruby]{
require "pathname"

pathname = Pathname("/path/to/sample")
pathname.exist? # => true
pathname.unlink # => 1
pathname.exist? # => false
//}...

絞り込み条件を変える