948件ヒット
[1-100件を表示]
(0.140秒)
別のキーワード
ライブラリ
- ビルトイン (12)
- openssl (12)
- rake (24)
-
rubygems
/ config _ file (12) -
rubygems
/ installer (12) -
rubygems
/ source _ info _ cache (12) - shell (258)
-
shell
/ command-processor (258) -
shell
/ filter (336) - zlib (12)
クラス
- File (12)
-
Gem
:: ConfigFile (12) -
Gem
:: Installer (12) -
Gem
:: SourceInfoCache (12) -
OpenSSL
:: SSL :: SSLContext (12) - Shell (258)
-
Shell
:: CommandProcessor (258) -
Shell
:: Filter (336) -
Zlib
:: GzipWriter (12)
モジュール
- FileUtils (24)
キーワード
- > (6)
- >> (6)
- [] (18)
- append (18)
- atime (18)
- basename (18)
- blockdev? (6)
-
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)
- flock (12)
- flush (12)
- foreach (18)
- ftype (18)
- glob (18)
- grpowned? (6)
- join (18)
- link (6)
- lstat (18)
- mtime (18)
- open (18)
- out (18)
- owned? (6)
- pipe? (6)
-
read
_ cache _ data (12) - readable? (6)
-
readable
_ real? (6) - readlink (18)
- rename (18)
- 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| . . . } (24238.0) -
与えられたコマンドを実行します。
...@param cmd 引数の解釈に関しては Kernel.#exec を参照してください。
例:
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.exitstatu......s})"
end
end
@see Kernel.#exec, Kernel.#system... -
Gem
:: ConfigFile # bulk _ threshold=(bulk _ threshold) (15407.0) -
一括ダウンロードの閾値を設定します。
...一括ダウンロードの閾値を設定します。
@param bulk_threshold 数値を指定します。... -
Shell
:: Filter # tee(file) -> Shell :: Filter (12450.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"
}
}
}... -
OpenSSL
:: SSL :: SSLContext # set _ params(params) -> Hash (12413.0) -
パラメータをハッシュで設定します。
...。
* :cert (OpenSSL::SSL::SSLContext#cert=)
* :key (OpenSSL::SSL::SSLContext#key=)
* :client_ca (OpenSSL::SSL::SSLContext#client_ca=)
* :ca_file (OpenSSL::SSL::SSLContext#ca_file=)
* :ca_path (OpenSSL::SSL::SSLContext#ca_path=)
* :timeout (OpenSSL::SSL::SSLContext#timeout=)
* :verify_......ntext#verify_mode=)
* :verify_depth (OpenSSL::SSL::SSLContext#verify_depth=)
* :verify_callback (OpenSSL::SSL::SSLContext#verify_callback=)
* :options (OpenSSL::SSL::SSLContext#options=)
* :cert_store (OpenSSL::SSL::SSLContext#cert_store=)
* :extra_chain_cert (OpenSSL::SSL::SSLContext#extr......a_chain_cert=)
* :client_cert_cb (OpenSSL::SSL::SSLContext#client_cert_cb=)
* :tmp_dh_callback (OpenSSL::SSL::SSLContext#tmp_dh_callback=)
* :session_id_context (OpenSSL::SSL::SSLContext#session_id_context=)
* :session_get_cb (OpenSSL::SSL::SSLContext#session_get_cb=)
* :session_new_cb (Op... -
Shell
:: Filter # delete(*filename) -> Integer (12329.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.delete... -
Shell
:: Filter # file?(file) -> bool (12221.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#file?... -
Shell
:: Filter # truncate(path , length) -> 0 (12135.0) -
File クラスにある同名のクラスメソッドと同じです.
...
File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
:: Filter # test(command , file1 , file2 = nil) -> bool | Time | Integer | nil (9477.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 (9450.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 (9450.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
# utime(atime , mtime , *filename) -> Integer (9441.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param utime 更新時刻を Time か、起......算時からの経過秒数を数値で指定します。
@see File.utime... -
Shell
:: CommandProcessor # utime(atime , mtime , *filename) -> Integer (9441.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param utime 更新時刻を Time か、起......算時からの経過秒数を数値で指定します。
@see File.utime... -
Shell
:: Filter # utime(atime , mtime , *filename) -> Integer (9441.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param utime 更新時刻を Time か、起......算時からの経過秒数を数値で指定します。
@see File.utime... -
Shell
# lstat(filename) -> File :: Stat (9430.0) -
File クラスにある同名のクラスメソッドと同じです.
...
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.lstat...