るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. _builtin exist?
  2. pathname exist?
  3. dir exist?
  4. file exist?
  5. strscan exist?

検索結果

Pathname#exist? -> bool (54307.0)

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

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


@see FileTest.#exist?

Shell#exist?(file) -> bool (54304.0)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

絞り込み条件を変える

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

このメソッドは obsolete です。

このメソッドは obsolete です。


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

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

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

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

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

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

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

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

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

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

Shell#exists?(file) -> bool (9004.0)

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

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

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

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

絞り込み条件を変える

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

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

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

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

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

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

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

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

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

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

Pathname#delete -> Integer (40.0)

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

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

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

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

Pathname#unlink -> Integer (40.0)

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

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

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

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