543件ヒット
[1-100件を表示]
(0.095秒)
種類
- インスタンスメソッド (438)
- 特異メソッド (105)
ライブラリ
- shell (543)
キーワード
- [] (6)
-
alias
_ command (6) - append (6)
- atime (6)
- basename (6)
- cat (6)
- cd (12)
- chdir (6)
-
check
_ point (6) - chmod (6)
- chown (6)
- concat (6)
- ctime (6)
- cwd (6)
- debug (12)
- debug? (12)
-
debug
_ output _ exclusive _ unlock (3) -
debug
_ output _ lock (6) -
debug
_ output _ locked? (6) -
debug
_ output _ synchronize (6) -
debug
_ output _ try _ lock (6) -
debug
_ output _ unlock (6) -
def
_ system _ command (6) -
default
_ record _ separator (6) -
default
_ record _ separator= (6) -
default
_ system _ path (6) -
default
_ system _ path= (6) - delete (6)
- dir (6)
-
dir
_ stack (6) - directory? (6)
- dirname (6)
- dirs (6)
- echo (6)
- executable? (6)
-
executable
_ real? (6) - exist? (6)
- exists? (6)
-
find
_ system _ command (6) -
finish
_ all _ jobs (6) - foreach (6)
- ftype (6)
- getwd (6)
- glob (6)
- identical? (6)
-
install
_ system _ commands (6) - join (6)
- kill (6)
- lstat (6)
- mkdir (6)
- mtime (6)
- notify (12)
- open (6)
- out (6)
-
process
_ controller (6) - pushd (6)
- pushdir (6)
- pwd (6)
- readlink (6)
-
record
_ separator (6) -
record
_ separator= (6) - rename (6)
- rm (6)
- rmdir (6)
- setgid? (6)
- setuid? (6)
- size (6)
- size? (6)
- socket? (6)
- split (6)
- stat (6)
- sticky? (6)
- system (6)
-
system
_ path (6) -
system
_ path= (6) - tee (6)
- test (6)
- transact (6)
- truncate (6)
- umask (6)
-
undef
_ system _ command (6) - unlink (6)
- utime (6)
-
world
_ writable? (6) - writable? (6)
-
writable
_ real? (6)
検索結果
先頭5件
-
Shell
# utime(atime , mtime , *filename) -> Integer (6301.0) -
File クラスにある同名のクラスメソッドと同じです.
...filename ファイル名を表す文字列を指定します。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。
@see File.utime... -
Shell
# atime(filename) -> Time (6201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.atime... -
Shell
# ctime(filename) -> Time (6201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.ctime... -
Shell
# delete(*filename) -> Integer (6201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.delete... -
Shell
# expand _ path(path) -> String (6201.0) -
Fileクラスにある同名のクラスメソッドと同じです.
...Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path... -
Shell
# lstat(filename) -> File :: Stat (6201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.lstat... -
Shell
# mtime(filename) -> Time (6201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.mtime... -
Shell
# process _ controller -> Shell :: ProcessController (6201.0) -
@todo
...@todo... -
Shell
# stat(filename) -> File :: Stat (6201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.stat... -
Shell
# system(command , *opts) -> Shell :: SystemCommand (6201.0) -
command を実行する.
...で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT... -
Shell
# tee(file) -> Shell :: Filter (6201.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...lter オブジェクトを返します.
@param file シェルコマンドtee に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat......(file).each { |l|
echo(l) | tee(file + ".tee") >> "all.tee"
}
}
}... -
Shell
# cat(*files) -> Shell :: Filter (6101.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...を内容とする Filter オブジェクトを返します.
@param files シェルコマンド cat に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|......file.chomp!
cat(file).each { |l|
echo(l) | tee(file + ".tee") >> "all.tee"
}
}
}... -
Shell
# check _ point (6101.0) -
@todo
...@todo... -
Shell
# concat(*jobs) -> Shell :: Concat (6101.0) -
@todo
...@todo... -
Shell
# dir _ stack -> [String] (6101.0) -
@todo
...@todo... -
Shell
# directory?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory?... -
Shell
# executable?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable?...