198件ヒット
[1-100件を表示]
(0.042秒)
別のキーワード
ライブラリ
-
shell
/ filter (198)
キーワード
- [] (6)
- basename (6)
- blockdev? (6)
- chardev? (6)
- concat (6)
- directory? (6)
- executable? (6)
-
executable
_ real? (6) - exist? (6)
- exists? (6)
- file? (6)
-
finish
_ all _ jobs (6) - foreach (6)
- glob (6)
- grpowned? (6)
- out (6)
- owned? (6)
- pipe? (6)
- readable? (6)
-
readable
_ real? (6) - setgid? (6)
- setuid? (6)
- socket? (6)
- sticky? (6)
- symlink? (6)
- test (6)
- transact (6)
-
world
_ readable? (6) -
world
_ writable? (6) - writable? (6)
-
writable
_ real? (6) - zero? (6)
- | (6)
検索結果
先頭5件
-
Shell
:: Filter # basename(filename , suffix = "") -> String (6101.0) -
File クラスにある同名のクラスメソッドと同じです.
...イル名を表す文字列を指定します。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。
@see File.basename... -
Shell
:: Filter # blockdev?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#blockdev?... -
Shell
:: Filter # executable?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable?... -
Shell
:: Filter # executable _ real?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real?... -
Shell
:: Filter # glob(pattern) -> Shell :: Filter (6101.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...rn シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|... -
Shell
:: Filter # readable?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#readable?... -
Shell
:: Filter # readable _ real?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#readable_real?... -
Shell
:: Filter # world _ readable? (6101.0) -
@todo
@todo -
Shell
:: Filter # world _ writable? (6101.0) -
@todo
@todo -
Shell
:: Filter # writable?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable?... -
Shell
:: Filter # writable _ real?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable_real?... -
Shell
:: Filter # finish _ all _ jobs (3101.0) -
@todo
@todo -
Shell
:: Filter # [](command , file1 , file2 = nil) -> bool | Time | Integer | nil (101.0) -
Kernel.#test や FileTest のメソッドに処理を委譲します。
...のパスを指定します。
@param file2 文字列でファイルへのパスを指定します。
require 'shell'
Shell.verbose = false
sh = Shell.new
begin
sh.mkdir("foo")
rescue
end
p sh[?e, "foo"] # => true
p sh[:e, "foo"] # => true
p sh["e", "foo"]... -
Shell
:: Filter # chardev?(file) -> bool (101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#chardev? -
Shell
:: Filter # concat(*jobs) -> Shell :: Concat (101.0) -
@todo
@todo -
Shell
:: Filter # directory?(file) -> bool (101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory? -
Shell
:: Filter # exist?(file) -> bool (101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#exist? FileTest.#exists?