342件ヒット
[301-342件を表示]
(0.165秒)
ライブラリ
- shell (342)
キーワード
- [] (6)
- append (6)
- atime (6)
- basename (6)
-
check
_ point (6) - chmod (6)
- chown (6)
-
command
_ processor (6) - concat (6)
- ctime (6)
- cwd (6)
- debug (6)
- debug? (6)
- delete (6)
- dir (6)
-
dir
_ stack (6) - dirname (6)
- dirs (6)
- echo (6)
-
find
_ system _ command (6) -
finish
_ all _ jobs (6) - foreach (6)
- ftype (6)
- getwd (6)
- glob (6)
- grpowned? (6)
- identical? (6)
- join (6)
- kill (6)
- link (6)
- lstat (6)
- mtime (6)
- notify (6)
- open (6)
- out (6)
- owned? (6)
-
process
_ controller (6) - pushd (6)
- pushdir (6)
- pwd (6)
- readlink (6)
-
record
_ separator (6) - rename (6)
- rm (6)
- size (6)
- size? (6)
- split (6)
- stat (6)
- symlink (6)
- symlink? (6)
- system (6)
- test (6)
- transact (6)
- truncate (6)
- unlink (6)
- utime (6)
検索結果
先頭5件
-
Shell
# size(file) -> Integer (102.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#size FileTest.#size? -
Shell
# size?(file) -> Integer | nil (102.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#size FileTest.#size? -
Shell
# split(pathname) -> [String] (102.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param pathname パス名を表す文字列を指定します。
@see File.split... -
Shell
# stat(filename) -> File :: Stat (102.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.stat... -
Shell
# test(command , file1 , file2 = nil) -> bool | Time | Integer | nil (102.0) -
Kernel.#test や FileTest のメソッドに処理を委譲します。
...Kernel.#test や FileTest のメソッドに処理を委譲します。
@param command 数値、またはサイズが 1 の文字列の場合は Kernel.#test に処理委譲します。
2 文字以上の文字列の場合は FileTest のメソッドとして実行します。
@para......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"] # => true
p sh[:exists?, "foo"] # => true
p sh["exists?", "foo"] # => true
@see Kernel.#test,... -
Shell
# utime(atime , mtime , *filename) -> Integer (102.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param utime 更新時刻を Time か、起... -
Shell
# out(dev = STDOUT , &block) -> () (8.0) -
Shell#transact を呼び出しその結果を dev に出力します。
...
Shell#transact を呼び出しその結果を dev に出力します。
@param dev 出力先をIO オブジェクトなどで指定します。
@param block transact 内部で実行するシェルを指定します。
使用例:
require 'shell'
Shell.def_system_command("head")
sh = Shell.......new
File.open("out.txt", "w"){ |fp|
sh.out(fp) {
system("ls", "-l") | head("-n 3")
}
}...