68件ヒット
[1-68件を表示]
(0.216秒)
ライブラリ
- pathname (33)
-
shell
/ command-processor (12) -
shell
/ process-controller (12) - strscan (11)
クラス
- Pathname (33)
-
Shell
:: CommandProcessor (12) -
Shell
:: ProcessController (12) - StringScanner (11)
キーワード
-
active
_ jobs _ exist? (6) - delete (11)
- exists? (6)
- unlink (11)
-
waiting
_ jobs _ exist? (6)
検索結果
先頭5件
-
StringScanner
# exist?(regexp) -> Integer | nil (24201.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 (24102.0) -
FileTest.exist?(self.to_s) と同じです。
...FileTest.exist?(self.to_s) と同じです。
@see FileTest.#exist?... -
Shell
:: CommandProcessor # exist?(file) -> bool (24101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#exist? FileTest.#exists?... -
Shell
:: ProcessController # waiting _ jobs _ exist? -> bool (18302.0) -
待機中のジョブが存在する場合は真を返します。 そうでない場合は偽を返します。
待機中のジョブが存在する場合は真を返します。
そうでない場合は偽を返します。 -
Shell
:: ProcessController # active _ jobs _ exist? -> bool (15202.0) -
実行中のジョブが存在する場合は真を返します。 そうでない場合は偽を返します。
実行中のジョブが存在する場合は真を返します。
そうでない場合は偽を返します。 -
Pathname
# unlink -> Integer (9113.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 (9001.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#exist? FileTest.#exists?... -
Pathname
# delete -> Integer (6113.0) -
self が指すディレクトリあるいはファイルを削除します。
...self が指すディレクトリあるいはファイルを削除します。
//emlist[例][ruby]{
require "pathname"
pathname = Pathname("/path/to/sample")
pathname.exist? # => true
pathname.unlink # => 1
pathname.exist? # => false
//}...