るりまサーチ

最速Rubyリファレンスマニュアル検索!
1380件ヒット [1-100件を表示] (0.105秒)

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

キーワード

検索結果

<< 1 2 3 ... > >>

Shell::SystemCommand#terminate -> () (15218.0)

@todo

...@todo...

Shell::Filter#delete(*filename) -> Integer (9214.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@
param filename ファイル名を表す文字列を指定します。

@
see File.delete...

Shell::Filter#system(command, *opts) -> Shell::SystemCommand (9214.0)

command を実行する.

...る.

@
param command 実行するコマンドのパスを文字列で指定します。

@
param opts command のオプションを文字列で指定します。複数可。

使用例:

require 'shell'
Shell
.verbose = false
sh = Shell.new

print sh.system("ls", "-l")
Shell
.def_system_comma...
...nd("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT...

Shell::Filter#tee(file) -> Shell::Filter (9208.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::ProcessController#terminate_job(command) (9208.0)

指定されたコマンドを終了します。

...指定されたコマンドを終了します。

@
param command コマンドを指定します。...

絞り込み条件を変える

Shell::Filter#truncate(path, length) -> 0 (9120.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@
param path パスを表す文字列を指定します。

@
param length 変更したいサイズを整数で与えます。

@
see File.truncate...

Shell::BuiltInCommand#active? -> true (9118.0)

@todo

...@todo...

Shell::Filter#find_system_command(command) (9118.0)

@todo

...@todo...

Shell#utime(atime, mtime, *filename) -> Integer (6327.0)

File クラスにある同名のクラスメソッドと同じです.

...す.

@
param filename ファイル名を表す文字列を指定します。

@
param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。

@
param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。

@
see F...
...ile.utime...

Shell::CommandProcessor#utime(atime, mtime, *filename) -> Integer (6326.0)

File クラスにある同名のクラスメソッドと同じです.

...す.

@
param filename ファイル名を表す文字列を指定します。

@
param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。

@
param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。

@
see F...
...ile.utime...

絞り込み条件を変える

Shell::Filter#utime(atime, mtime, *filename) -> Integer (6326.0)

File クラスにある同名のクラスメソッドと同じです.

...す.

@
param filename ファイル名を表す文字列を指定します。

@
param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。

@
param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。

@
see F...
...ile.utime...

Shell::Filter#test(command, file1, file2 = nil) -> bool | Time | Integer | nil (6226.0)

Kernel.#test や FileTest のメソッドに処理を委譲します。

...ernel.#test や FileTest のメソッドに処理を委譲します。

@
param command 数値、またはサイズが 1 の文字列の場合は Kernel.#test に処理委譲します。
2 文字以上の文字列の場合は FileTest のメソッドとして実行します。

@
param...
...

@
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#process_controller -> Shell::ProcessController (6219.0)

@todo

...@todo...

Shell#atime(filename) -> Time (6215.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@
param filename ファイル名を表す文字列か IO オブジェクトを指定します。

@
see File.atime...

Shell#ctime(filename) -> Time (6215.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@
param filename ファイル名を表す文字列か IO オブジェクトを指定します。

@
see File.ctime...

絞り込み条件を変える

Shell#delete(*filename) -> Integer (6215.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@
param filename ファイル名を表す文字列を指定します。

@
see File.delete...

Shell#expand_path(path) -> String (6215.0)

Fileクラスにある同名のクラスメソッドと同じです.

...Fileクラスにある同名のクラスメソッドと同じです.

@
param path ファイル名を表す文字列を指定します。

@
see File.expand_path...
<< 1 2 3 ... > >>