るりまサーチ (Ruby 2.3.0)

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

別のキーワード

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

検索結果

StringScanner#exist?(regexp) -> Integer | nil (63604.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.exis...

Pathname#exist? -> bool (63307.0)

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

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


@see FileTest.#exist?

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

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

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

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

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

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

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

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

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

このメソッドは obsolete です。

このメソッドは obsolete です。


Net::HTTPGenericRequest#response_body_permitted?
の別名です。

絞り込み条件を変える

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

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

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

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

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

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

Pathname#unlink -> Integer (18340.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 (18004.0)

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

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

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

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

Pathname#delete -> Integer (9340.0)

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

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

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

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

絞り込み条件を変える