るりまサーチ (Ruby 2.2.0)

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

別のキーワード

  1. matrix l
  2. kernel $-l
  3. _builtin $-l
  4. lupdecomposition l
  5. l matrix

キーワード

検索結果

<< 1 2 > >>

Shell::SystemCommand#command -> String (72307.0)

@todo

@todo

コマンド名を返します。

Gem::CommandManager#find_command_possibilities(command_name) -> Array (45928.0)

登録されているコマンドでマッチする可能性のあるものを返します。

登録されているコマンドでマッチする可能性のあるものを返します。

@param command_name コマンド名を文字列で指定します。

Kernel#link_command(ldflags, opt = "", libpath = $DEFLIBPATH|$LIBPATH) -> String (37507.0)

実際にリンクする際に使用するコマンドを返します。

実際にリンクする際に使用するコマンドを返します。

@param ldflags LDFLAGS に追加する値を指定します。

@param opt LIBS に追加する値を指定します。

@param libpath LIBPATH に指定する値を指定します。

@see RbConfig.expand

Shell::ProcessController#kill_job(signal, command) -> Integer (36625.0)

指定されたコマンドにシグナルを送ります。

指定されたコマンドにシグナルを送ります。

@param signal シグナルを整数かその名前の文字列で指定します。
負の値を持つシグナル(あるいはシグナル名の前に-)を指定すると、
プロセスではなくプロセスグループにシグナルを送ります。

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

@see Process.#kill

Shell::CommandProcessor#find_system_command(command) (36610.0)

@todo

@todo

絞り込み条件を変える

Gem::Commands::BuildCommand#load_gemspecs(filename) -> Array (36304.0)

gemspec ファイルをロードします。

gemspec ファイルをロードします。

@param filename ファイル名を指定します。

Gem::Commands::BuildCommand#yaml?(filename) -> bool (36304.0)

与えられたファイル名を持つファイルが yaml ファイルである場合に真を返します。

与えられたファイル名を持つファイルが yaml ファイルである場合に真を返します。

@param filename ファイル名を指定します。

Gem::Commands::LockCommand#complain(message) -> () (36304.0)

指定されたメッセージを表示します。--strict が有効な場合は例外が発生します。

指定されたメッセージを表示します。--strict が有効な場合は例外が発生します。

@param message 表示するメッセージを指定します。

@raise Gem::Exception コマンドラインオプションに --strict が指定されている場合に発生します。

Shell::SystemCommand#kill(signal) -> Integer (36304.0)

自身のプロセスにシグナルを送ります。

自身のプロセスにシグナルを送ります。

@param signal シグナルを整数かその名前の文字列で指定します。
負の値を持つシグナル(あるいはシグナル名の前に-)を指定すると、
プロセスではなくプロセスグループにシグナルを送ります。

@see Process.#kill

Gem::CommandManager#find_command(command_name) -> Gem::Command | nil (28249.0)

登録されているコマンドからマッチしたものを返します。

登録されているコマンドからマッチしたものを返します。

@param command_name コマンド名を文字列で指定します。

@return Gem::Command のサブクラスのインスタンスを返します。

@raise RuntimeError マッチする可能性のあるコマンドが複数ある場合に発生します。
また、マッチするコマンドが無かった場合にも発生します。

絞り込み条件を変える

Gem::CommandManager#register_command(command_name) -> false (27928.0)

コマンドを自身に登録します。

コマンドを自身に登録します。

@param command_name コマンド名をシンボルで指定します。

Shell#command_processor -> Shell::CommandProcessor (27907.0)

@todo

@todo

Shell::ProcessController#add_schedule(command) -> () (27625.0)

指定されたコマンドを待機ジョブとして登録します。 ただし、実行中のジョブが存在しない場合は、そのジョブを直ちに実行します。

指定されたコマンドを待機ジョブとして登録します。
ただし、実行中のジョブが存在しない場合は、そのジョブを直ちに実行します。

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

Shell#find_system_command(command) (27610.0)

@todo

@todo

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

@todo

@todo

絞り込み条件を変える

Kernel#cpp_command(outfile, opt = "") -> String (27607.0)

実際にプリプロセッサを実行する際に使用するコマンドを返します。

実際にプリプロセッサを実行する際に使用するコマンドを返します。

@param outfile 出力ファイルの名前を指定します。

@param opt プリプロセッサに与える追加のコマンドライン引数を指定します。

@see RbConfig.expand

Shell::CommandProcessor#delete(*filename) -> Integer (27604.0)

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

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

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

@see File.delete

Shell::CommandProcessor#executable?(file) -> bool (27604.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#executable?

Shell::CommandProcessor#executable_real?(file) -> bool (27604.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#executable_real?

Shell::CommandProcessor#file?(file) -> bool (27604.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#file?

絞り込み条件を変える

Shell::CommandProcessor#readable?(file) -> bool (27604.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#readable?

Shell::CommandProcessor#readable_real?(file) -> bool (27604.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#readable_real?

Shell::CommandProcessor#writable?(file) -> bool (27604.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#writable?

Shell::CommandProcessor#writable_real?(file) -> bool (27604.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#writable_real?

Shell::CommandProcessor#glob(pattern) -> Shell::Filter (27358.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

実行すると, それらを内容とする Filter オブジェクトを返します.

@param pattern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。

動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
...

絞り込み条件を変える

Gem::Command#defaults_str -> String (27322.0)

このメソッドはサブクラスで再定義されます。 コマンドのオプションで使用するデフォルト値を表示するために使用する文字列を返します。

このメソッドはサブクラスで再定義されます。
コマンドのオプションで使用するデフォルト値を表示するために使用する文字列を返します。

@see Gem::Command#arguments

Kernel#cc_command(opt = "") -> String (27307.0)

実際にコンパイルする際に使用するコマンドを返します。

実際にコンパイルする際に使用するコマンドを返します。

@param opt コンパイラに与える追加のコマンドライン引数を指定します。

@see RbConfig.expand

Gem::Command#defaults -> Hash (27304.0)

デフォルトのオプションを返します。

デフォルトのオプションを返します。

Gem::Command#defaults=(hash) (27304.0)

コマンドで使用するデフォルトのオプションをセットします。

コマンドで使用するデフォルトのオプションをセットします。

@param hash オプションをハッシュで指定します。

Gem::Command#get_all_gem_names -> Array (27304.0)

コマンドラインで与えられた Gem の名前を全て取得して返します。

コマンドラインで与えられた Gem の名前を全て取得して返します。

@raise Gem::CommandLineError コマンドライン引数から Gem の名前を取得できない場合に発生します。

絞り込み条件を変える

Gem::Command#get_one_optional_argument -> String (27304.0)

コマンドラインからオプショナルな引数を取得して返します。

コマンドラインからオプショナルな引数を取得して返します。

@return 一つ以上、指定した場合は最初の値を返します。一つも指定していない場合は nil を返します。

Gem::Command#handle_options(args) (27304.0)

与えられた引数のリストをパースして結果を記録します。

与えられた引数のリストをパースして結果を記録します。

@param args 引数のリストを指定します。

Gem::Command#handles?(args) -> bool (27304.0)

与えられた引数リストを処理することが出来れば真を返します。処理できない場合は偽を返します。

与えられた引数リストを処理することが出来れば真を返します。処理できない場合は偽を返します。

@param args 引数リストを指定子明日。

Gem::Command#show_help -> () (27304.0)

コマンドの使用方法を表示します。

コマンドの使用方法を表示します。

Gem::Command#show_lookup_failure(gem_name, version, errors = nil) -> () (27304.0)

Gem が見つからなかった場合、メッセージを表示するために使用するメソッドです。

Gem が見つからなかった場合、メッセージを表示するために使用するメソッドです。

@param gem_name Gem の名前を指定します。

@param version Gem のバージョンを指定します。

@param errors Gem が見つからなかった理由を表すオブジェクトを格納した配列を指定します。

絞り込み条件を変える

Gem::Commands::LockCommand#spec_path(gem_full_name) -> String (27304.0)

指定された Gem パッケージの gemspec ファイルのフルパスを返します。

指定された Gem パッケージの gemspec ファイルのフルパスを返します。

@param gem_full_name Gem パッケージの名前を指定します。

IRB::ExtendCommandBundle#install_alias_method(to, from, override = NO_OVERRIDE) (27304.0)

メソッドのエイリアスを定義します。ライブラリ内部で使用します。

メソッドのエイリアスを定義します。ライブラリ内部で使用します。

@param to 新しいメソッド名を Symbol か文字列で指定します。

@param from 元のメソッド名を Symbol か文字列で指定します。

@param override 新しいメソッド名が定義済みであった場合にそのメソッドを
上書きするかどうかを
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_...

IRB::ExtendCommandBundle#irb_load(*opts, &b) -> nil (27304.0)

現在の irb に関する IRB::Context に対して irb_load コマンドを実行 します。

現在の irb に関する IRB::Context に対して irb_load コマンドを実行
します。

@see IRB::ExtendCommand::Load#execute

Shell::CommandProcessor#blockdev?(file) -> bool (27304.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#blockdev?

Shell::CommandProcessor#finish_all_jobs (27304.0)

@todo

@todo

絞り込み条件を変える

Shell::CommandProcessor#identical? (27304.0)

@todo

@todo

Shell::CommandProcessor#link(old, new) -> 0 (27304.0)

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

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

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

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

@see File.link

Shell::CommandProcessor#lstat(filename) -> File::Stat (27304.0)

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

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

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

@see File.lstat

Shell::CommandProcessor#readlink(path) -> String (27304.0)

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

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

@param path シンボリックリンクを表す文字列を指定します。

@see File.readlink

Shell::CommandProcessor#split(pathname) -> [String] (27304.0)

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

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

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

@see File.split

絞り込み条件を変える

Shell::CommandProcessor#symlink(old, new) -> 0 (27304.0)

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

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

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

@param new シンボリックリンクを表す文字列を指定します。

@see File.symlink

Shell::CommandProcessor#symlink?(file) -> bool (27304.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#symlink?

Shell::CommandProcessor#unlink(path) -> self (27304.0)

path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。

path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。

@param path 削除したいパスを指定します。

@see File.unlink, Dir.unlink

Shell::CommandProcessor#world_readable? (27304.0)

@todo

@todo

Shell::CommandProcessor#world_writable? (27304.0)

@todo

@todo

絞り込み条件を変える

Shell::SystemCommand#flush -> () (27304.0)

@todo

@todo

Shell::SystemCommand#name -> String (27007.0)

@todo

@todo

コマンド名を返します。

Gem::Commands::BuildCommand#arguments -> String (27004.0)

引数の説明を表す文字列を返します。

引数の説明を表す文字列を返します。

Gem::Commands::BuildCommand#execute -> () (27004.0)

コマンドを実行します。

コマンドを実行します。

Gem::Commands::BuildCommand#usage -> String (27004.0)

使用方法を表す文字列を返します。

使用方法を表す文字列を返します。

絞り込み条件を変える

Shell::CommandProcessor#system(command, *opts) -> Shell::SystemCommand (19045.0)

command を実行する.

command を実行する.

@param 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::CommandProcessor#[](command, file1, file2 = nil) -> bool | Time | Integer | nil (18928.0)

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

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

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

@param file1 文字列でファイルへのパスを指定します。

@param file2 文字列でファイルへのパスを指定します。

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

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

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

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

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

@param file1 文字列でファイルへのパスを指定します。

@param file2 文字列でファイルへのパスを指定します。

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

Gem::VersionOption#add_platform_option(task = command, *wrap) (18625.0)

option parser に対して --platform オプションを追加します。

option parser に対して --platform オプションを追加します。

@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。

@param wrap Gem::Command#add_option に渡すその他のオプションを指定します。

Shell::ProcessController#start_job(command = nil) (18625.0)

指定されたコマンドの実行を開始します。

指定されたコマンドの実行を開始します。

コマンドを省略した場合は、待ち状態のジョブのうち先頭のものを実行します。

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

絞り込み条件を変える

Shell::CommandProcessor#stat(filename) -> File::Stat (18604.0)

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

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

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

@see File.stat

Shell#glob(pattern) -> Shell::Filter (18358.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

実行すると, それらを内容とする Filter オブジェクトを返します.

@param pattern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。

動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
...

Shell::CommandProcessor#cat(*files) -> Shell::Filter (18358.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") >> "al...

Shell::CommandProcessor#echo(*strings) -> Shell::Filter (18358.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

実行すると, それらを内容とする Filter オブジェクトを返します.

@param strings シェルコマンド echo に与える引数を文字列で指定します。

動作例
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") >> "al...

Shell::CommandProcessor#tee(file) -> Shell::Filter (18358.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

実行すると, それらを内容とする Filter オブジェクトを返します.

@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...

絞り込み条件を変える

Shell::Filter#glob(pattern) -> Shell::Filter (18358.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

実行すると, それらを内容とする Filter オブジェクトを返します.

@param pattern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。

動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
...

Shell::CommandProcessor#out(dev = STDOUT, &block) -> () (18340.0)

Shell#transact を呼び出しその結果を dev に出力します。

Shell#transact を呼び出しその結果を dev に出力します。

@param dev 出力先をIO オブジェクトなどで指定します。

@param block transact 内部で実行するシェルを指定します。


使用例:
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
File.open("out.txt", "w"){ |fp|
sh.out(fp) {
system("ls", "-l") | head("-n 3")
}
}

Shell::ProcessController#sfork(command) { ... } -> [Integer, IO, IO] (18325.0)

シンプルな fork です。

シンプルな fork です。

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

@return [PID, 入力用 IO, 出力用 IO] からなる配列を返します。

Shell::ProcessController#terminate_job(command) (18325.0)

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

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

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

Kernel#help -> () (18322.0)

ヘルプメッセージを表示します。

ヘルプメッセージを表示します。


ruby -run -e help [COMMAND]

絞り込み条件を変える

Gem::Commands::DependencyCommand#print_dependencies(spec, level = 0) -> String (18304.0)

依存関係を表す文字列を返します。

依存関係を表す文字列を返します。

@param spec Gem::Specification のインスタンスを指定します。

@param level 依存関係の深さを指定します。

Gem::Commands::UnpackCommand#get_path(gemname, version_req) -> String | nil (18304.0)

引数で指定された条件にマッチする Gem パッケージを保存しているパスを返します。

引数で指定された条件にマッチする Gem パッケージを保存しているパスを返します。

@param gemname Gem パッケージの名前を指定します。

@param version_req バージョンの満たすべき条件を文字列で指定します。

Gem::Commands::UpdateCommand#which_to_update(highest_installed_gems, gem_names) -> Array (18304.0)

更新が必要な Gem のリストを返します。

更新が必要な Gem のリストを返します。

IRB::ExtendCommand::Help#execute(*names) -> nil (18304.0)

RI から Ruby のドキュメントを参照します。

RI から Ruby のドキュメントを参照します。

irb(main):001:0> help String#match
...

@param names 参照したいクラス名やメソッド名などを文字列で指定します。

names を指定しなかった場合は、RI を対話的なモードで起動します。メソッド
名などを入力する事でドキュメントの検索が行えます。入力のタブ補完をする
事ができます。また、空行を入力する事で irb のプロンプトに戻る事ができま
す。

irb(main):001:0> help

Enter the method name you want to look...

IRB::ExtendCommand::Load#execute(file_name, priv = nil) -> nil (18304.0)

ファイル path を Ruby スクリプトとみなし、現在の irb インタプリタ上で実 行します。

ファイル path を Ruby スクリプトとみなし、現在の irb インタプリタ上で実
行します。

Kernel.#load と異なり、path の内容を irb で一行ずつタイプしたかの
ように、irb 上で一行ずつ評価されます。

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

@param priv 真を指定した場合は実行は内部的に生成される無名モジュール上
で行われ、グローバルな名前空間を汚染しません。

@raise LoadError 読み込みに失敗した場合に発生します。

絞り込み条件を変える

IRB::ExtendCommandBundle#irb_require(*opts, &b) -> bool (18304.0)

現在の irb に関する IRB::Context に対して irb_require コマンドを 実行します。

現在の irb に関する IRB::Context に対して irb_require コマンドを
実行します。

@see IRB::ExtendCommand::Require#execute

Shell::BuiltInCommand#wait? -> false (18304.0)

@todo

@todo

Shell::CommandProcessor#append(to, filter) -> Shell::AppendFile | Shell::AppendIO (18304.0)

@todo

@todo

@param to 文字列か IO を指定します。

@param filter Shell::Filter のインスタンスを指定します。

Shell::CommandProcessor#atime(filename) -> Time (18304.0)

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

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

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

@see File.atime

Shell::CommandProcessor#basename(filename, suffix = "") -> String (18304.0)

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

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

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

@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。

@see File.basename

絞り込み条件を変える

Shell::CommandProcessor#chardev?(file) -> bool (18304.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#chardev?

Shell::CommandProcessor#chmod(mode, *filename) -> Integer (18304.0)

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

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

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

@param mode chmod(2) と同様に整数で指定します。

@see File.chmod

Shell::CommandProcessor#chown(owner, group, *filename) -> Integer (18304.0)

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

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

@param owner chown(2) と同様に数値で指定します。nil または -1 を指定することで、オーナーを現在のままにすることができます。

@param group chown(2) と同様に数値で指定します。nil または -1 を指定することで、グループを現在のままにすることができます。

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

@see File.chown

Shell::CommandProcessor#concat(*jobs) -> Shell::Concat (18304.0)

@todo

@todo

Shell::CommandProcessor#ctime(filename) -> Time (18304.0)

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

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

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

@see File.ctime

絞り込み条件を変える

Shell::CommandProcessor#directory?(file) -> bool (18304.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#directory?

Shell::CommandProcessor#dirname(filename) -> String (18304.0)

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

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

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

@see File.dirname

Shell::CommandProcessor#exist?(file) -> bool (18304.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#exist? FileTest.#exists?

Shell::CommandProcessor#exists?(file) -> bool (18304.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#exist? FileTest.#exists?

Shell::CommandProcessor#foreach(path = nil, &block) -> () (18304.0)

pathがファイルなら, File#foreach pathがディレクトリなら, Dir#foreach の動作をします。

pathがファイルなら, File#foreach
pathがディレクトリなら, Dir#foreach
の動作をします。

@param path ファイルもしくはディレクトリのパスを文字列で指定します。

使用例
require 'shell'
Shell.verbose = false
sh = Shell.new
sh.foreach("/tmp"){|f|
puts f
}

絞り込み条件を変える

Shell::CommandProcessor#ftype(filename) -> String (18304.0)

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

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

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

@see File.ftype

Shell::CommandProcessor#grpowned?(file) -> bool (18304.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#grpowned?

Shell::CommandProcessor#mtime(filename) -> Time (18304.0)

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

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

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

@see File.mtime

Shell::CommandProcessor#open(path, mode) -> File | Dir (18304.0)

path がファイルなら、 File.open path がディレクトリなら、 Dir.open の動作をします。

path がファイルなら、 File.open path がディレクトリなら、 Dir.open の動作をします。

@param path 開きたいパスを指定します。

@param mode アクセスモードを指定します。path がディレクトリの場合は無視されます。

@see File.open, Dir.open

Shell::CommandProcessor#owned?(file) -> bool (18304.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#owned?

絞り込み条件を変える

Shell::CommandProcessor#pipe?(file) -> bool (18304.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#pipe?

Shell::CommandProcessor#rm(*filename) -> Integer (18304.0)

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

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

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

@see File.delete

Shell::CommandProcessor#setgid?(file) -> bool (18304.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#setgid?

Shell::CommandProcessor#setuid?(file) -> bool (18304.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#setuid?

Shell::CommandProcessor#size(file) -> Integer (18304.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

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

@see FileTest.#size FileTest.#size?

絞り込み条件を変える

<< 1 2 > >>