1014件ヒット
[1-100件を表示]
(0.149秒)
ライブラリ
- ビルトイン (12)
-
cgi
/ core (12) -
cgi
/ session (12) - openssl (12)
- rake (24)
-
rubygems
/ config _ file (24) -
rubygems
/ installer (12) -
rubygems
/ source _ info _ cache (12) - shell (258)
-
shell
/ builtin-command (6) -
shell
/ command-processor (258) -
shell
/ filter (336) -
webrick
/ httprequest (12) - zlib (24)
クラス
-
CGI
:: Session :: FileStore (12) - File (12)
-
Gem
:: ConfigFile (24) -
Gem
:: Installer (12) -
Gem
:: SourceInfoCache (12) -
OpenSSL
:: SSL :: SSLContext (12) - Shell (258)
-
Shell
:: AppendFile (6) -
Shell
:: CommandProcessor (258) -
Shell
:: Filter (336) -
WEBrick
:: HTTPRequest (12) -
Zlib
:: GzipWriter (24)
モジュール
-
CGI
:: QueryExtension (12) - FileUtils (24)
キーワード
- > (6)
- >> (6)
- [] (18)
- append (18)
- atime (18)
- basename (18)
- blockdev? (6)
-
bulk
_ threshold (12) -
bulk
_ threshold= (12) - cat (18)
- chardev? (6)
- chmod (18)
- chown (18)
- ctime (18)
- delete (18)
- directory? (18)
- dirname (18)
- echo (18)
- executable? (18)
-
executable
_ real? (18) - exist? (18)
- exists? (18)
- file? (6)
- files (12)
- finish (12)
- flock (12)
- flush (12)
- foreach (18)
- ftype (18)
- glob (18)
- grpowned? (6)
- input= (6)
- join (18)
- link (6)
- lstat (18)
- mtime (18)
- open (18)
- out (18)
- owned? (6)
- pipe? (6)
- query (12)
-
read
_ cache _ data (12) - readable? (6)
-
readable
_ real? (6) - readlink (18)
- rename (18)
- restore (12)
- rm (18)
- ruby (12)
-
set
_ params (12) - setgid? (18)
- setuid? (18)
- shebang (12)
- size (18)
- size? (18)
- socket? (18)
- split (18)
- stat (18)
- sticky? (18)
- symlink (6)
- symlink? (6)
- tee (18)
- test (18)
- truncate (18)
- unlink (18)
- utime (18)
- writable? (18)
-
writable
_ real? (18) - zero? (6)
検索結果
先頭5件
-
FileUtils
# sh(*cmd) {|result , status| . . . } (24232.0) -
与えられたコマンドを実行します。
...参照してください。
例:
sh %{ls -ltr}
sh 'ls', 'file with spaces'
# check exit status after command runs
sh %{grep pattern file} do |ok, res|
if ! ok
puts "pattern not found (status = #{res.exitstatus})"
end
end
@see Kernel.#exec, Kernel.#system... -
Gem
:: ConfigFile # bulk _ threshold=(bulk _ threshold) (15401.0) -
一括ダウンロードの閾値を設定します。
...一括ダウンロードの閾値を設定します。
@param bulk_threshold 数値を指定します。... -
Gem
:: ConfigFile # bulk _ threshold -> Integer (15201.0) -
一括ダウンロードの閾値を返します。 インストールしていない Gem がこの数値を越えるとき一括ダウンロードを行います。
一括ダウンロードの閾値を返します。
インストールしていない Gem がこの数値を越えるとき一括ダウンロードを行います。 -
Shell
:: Filter # tee(file) -> Shell :: Filter (12444.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
:: Filter # delete(*filename) -> Integer (12323.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.delete... -
Shell
:: Filter # file?(file) -> bool (12215.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#file?... -
CGI
:: Session :: FileStore # restore -> Hash (12201.0) -
セッションの状態をファイルから復元したハッシュを返します。
セッションの状態をファイルから復元したハッシュを返します。 -
Shell
:: Filter # truncate(path , length) -> 0 (12123.0) -
File クラスにある同名のクラスメソッドと同じです.
...
File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
:: AppendFile # input=(filter) (12101.0) -
@todo
...@todo... -
Shell
:: Filter # test(command , file1 , file2 = nil) -> bool | Time | Integer | nil (9459.0) -
Kernel.#test や FileTest のメソッドに処理を委譲します。
....#test や FileTest のメソッドに処理を委譲します。
@param command 数値、またはサイズが 1 の文字列の場合は Kernel.#test に処理委譲します。
2 文字以上の文字列の場合は FileTest のメソッドとして実行します。
@param file1......@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"] # => true
p sh[:exists?, "......foo"] # => true
p sh["exists?", "foo"] # => true
@see Kernel.#test, FileTest... -
Shell
# tee(file) -> Shell :: Filter (9444.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
:: CommandProcessor # tee(file) -> Shell :: Filter (9444.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
# lstat(filename) -> File :: Stat (9424.0) -
File クラスにある同名のクラスメソッドと同じです.
...
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.lstat...