90件ヒット
[1-90件を表示]
(0.108秒)
ライブラリ
- ビルトイン (12)
- benchmark (12)
-
net
/ ftp (12) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) -
shell
/ system-command (24)
クラス
-
Benchmark
:: Tms (12) -
Net
:: FTP (12) -
RDoc
:: Options (12) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) -
Shell
:: SystemCommand (24) - String (12)
検索結果
先頭5件
-
Net
:: FTP # system -> String (18227.0) -
サーバーの OS のタイプを返します。
...プを返します。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@raise Net::FTPPermError 応答コードが 5yz のときに発生します。
@raise Net::FTPProtoError 応答コードが RFC 的に正しくない場合に発生します。
@raise Net::FTPReplyE... -
String
# sum(bits = 16) -> Integer (9013.0) -
文字列の bits ビットのチェックサムを計算します。
...urn 0 if sum == 0
sum & ((1 << bits) - 1)
end
//}
例えば以下のコードで UNIX System V の
sum(1) コマンドと同じ値が得られます。
//emlist[例][ruby]{
sum = 0
ARGF.each_line do |line|
sum += line.sum
end
sum %= 65536
//}
@param bits チェックサムのビット数... -
Shell
:: SystemCommand # notify(*opts) -> String (3131.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String (3131.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: SystemCommand # command -> String (3119.0) -
@todo
...@todo
コマンド名を返します。... -
Shell
:: SystemCommand # name -> String (3119.0) -
@todo
...@todo
コマンド名を返します。... -
Benchmark
:: Tms # format(fmtstr = nil , *args) -> String (126.0) -
self を指定されたフォーマットで整形して返します。
...られます。Benchmark::Tms#utime
: %y
system CPU time で置き換えられます(Mnemonic: y of "s*y*stem")。Benchmark::Tms#stime
: %U
子プロセスの user CPU time で置き換えられます。Benchmark::Tms#cutime
: %Y
子プロセスの system CPU time で置き換えられます......:Tms#real
: %n
ラベルで置き換えられます(Mnemonic: n of "*n*ame")。Benchmark::Tms#label
@param fmtstr フォーマット文字列です。
省略された場合は、Benchmark::Tms::FORMAT が使用されます。
@param args フォーマットされる引数です。... -
RDoc
:: Options # op _ dir -> String (114.0) -
コマンドライン引数の --op オプションで指定したディレクトリを返します。
...コマンドライン引数の --op オプションで指定したディレクトリを返します。
--ri、--ri-site、--ri-system オプションにも影響される事に注意してください。
@return 設定されたディレクトリを文字列で返します。... -
Shell
# echo(*strings) -> Shell :: Filter (113.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...ると, それらを内容とする Filter オブジェクトを返します.
@param strings シェルコマンド echo に与える引数を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each {... -
Shell
:: CommandProcessor # echo(*strings) -> Shell :: Filter (113.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...ると, それらを内容とする Filter オブジェクトを返します.
@param strings シェルコマンド echo に与える引数を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each {... -
Shell
:: Filter # echo(*strings) -> Shell :: Filter (113.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...ると, それらを内容とする Filter オブジェクトを返します.
@param strings シェルコマンド echo に与える引数を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each {...