るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. shell/builtin-command new
  2. shell/builtin-command each
  3. rubygems/command command
  4. irb/extend-command def_extend_command
  5. irb/extend-command install_extend_commands

モジュール

キーワード

検索結果

<< 1 2 > >>

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

@todo

@todo

コマンド名を返します。

Shell::CommandProcessor.add_delegate_command_to_shell(id) (54604.0)

@todo

@todo

Shell 自体を初期化する時に呼び出されるメソッドです。
ユーザが使用することはありません。

@param id メソッド名を指定します。

FileUtils#sh(*cmd) {|result, status| ... } (54376.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 = #...

Shell::CommandProcessor.def_system_command(command, path = command) -> () (36964.0)

@todo

@todo

与えられたコマンドをメソッドとして定義します。

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

@param path command のパスを指定します。省略すると環境変数 PATH から command を探します。

Shell::CommandProcessor.alias_command(alias, command, *opts) -> self (36631.0)

@todo

@todo

@param alias エイリアスの名前を指定します。

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

@param opts コマンドに与えるオプションを指定します。

@raise SyntaxError コマンドのエイリアス作成に失敗した時に発生します。

絞り込み条件を変える

Shell::CommandProcessor.alias_command(alias, command, *opts) { ... } -> self (36631.0)

@todo

@todo

@param alias エイリアスの名前を指定します。

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

@param opts コマンドに与えるオプションを指定します。

@raise SyntaxError コマンドのエイリアス作成に失敗した時に発生します。

Shell::CommandProcessor.undef_system_command(command) -> self (36625.0)

与えられたコマンドを削除します。

与えられたコマンドを削除します。

@param command 削除したいコマンド名を指定します。

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

@todo

@todo

Shell::CommandProcessor.def_builtin_commands(delegation_class, commands_specs) -> () (36601.0)

@todo

@todo

@param delegation_class 処理を委譲したいクラスかモジュールを指定します。

@param commands_specs コマンドの仕様を文字列の配列で指定します。
[[コマンド名, [引数1, 引数2, ...]], ...]

Shell::CommandProcessor.unalias_command(alias) -> self (36304.0)

エイリアスを削除します。

エイリアスを削除します。

@param alias 削除したいエイリアスを指定します。

絞り込み条件を変える

Shell::CommandProcessor#rehash -> {} (36301.0)

登録されているシステムコマンドの情報をクリアします。 通常、使うことはありません。

登録されているシステムコマンドの情報をクリアします。
通常、使うことはありません。

Shell::CommandProcessor.install_builtin_commands -> () (36301.0)

ビルトインコマンドを定義します。

ビルトインコマンドを定義します。

Shell::CommandProcessor.install_system_commands(prefix = "sys_") -> () (36301.0)

全てのシステムコマンドをメソッドとして定義します。

全てのシステムコマンドをメソッドとして定義します。

既に定義されているコマンドを再定義することはありません。
デフォルトでは全てのコマンドに "sys_" というプレフィクスが付きます。
また、メソッド名として使用できない文字は全て "_" に置換してメソッドを定義します。
このメソッドの実行中に発生した例外は単に無視されます。

@param prefix プレフィクスを指定します。

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

@todo

@todo

shell/builtin-command (36001.0)

Shell で使用するビルトインコマンドを定義しているライブラリです。

Shell で使用するビルトインコマンドを定義しているライブラリです。

絞り込み条件を変える

shell/command-processor (36001.0)

Shell で使用可能なコマンドの大半を定義するライブラリです。

Shell で使用可能なコマンドの大半を定義するライブラリです。

shell/system-command (36001.0)

Shell.undef_system_command(command) -> Shell::CommandProcessor (28345.0)

commandを削除します.

commandを削除します.

@param command 削除するコマンドの文字列を指定します。

動作例:
require 'shell'
Shell.def_system_command("ls")
# ls を定義
Shell.undef_system_command("ls")
# ls を 削除

sh = Shell.new
begin
sh.transact {
ls("-l").each {|l|
puts l
}
}
rescue NameError => err
puts ...

Shell.def_system_command(command, path = command) -> nil (28084.0)

Shell のメソッドとして command を登録します.

Shell のメソッドとして command を登録します.

OS上のコマンドを実行するにはまず, Shellのメソッドとして定義します.
注) コマンドを定義しなくとも直接実行できる Shell#system コマンドもあります.

@param command Shell のメソッドとして定義するコマンドを文字列で指定します。

@param path command のパスを指定します。
指定しない場合はcommand と同じになります。

例)
require 'shell'
Shell.def_system_command "ls"
# ls ...

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

@todo

@todo

絞り込み条件を変える

Shell.alias_command(alias, command, *opts) {...} -> self (27781.0)

コマンドの別名(エイリアス)を作成します。 コマンドが無い場合は、Shell.def_system_command などであらかじめ作成します.

コマンドの別名(エイリアス)を作成します。
コマンドが無い場合は、Shell.def_system_command などであらかじめ作成します.

@param alias エイリアスの名前を文字列で指定します.

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

@param opts command で指定したコマンドのオプションを指定します.

使用例: ls -la | sort -k 5 のような例。

require 'shell'
Shell.def_system_command("ls")
Shell.alias_command("lsla", "...

Shell#find_system_command(command) (27607.0)

@todo

@todo

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

@todo

@todo

Gem::Command.specific_extra_args_hash -> Hash (27601.0)

特別な追加引数へのアクセスを提供します。

特別な追加引数へのアクセスを提供します。

Shell.unalias_command(alias) -> () (27478.0)

commandのaliasを削除します.

commandのaliasを削除します.

@param alias 削除したいエイリアスの名前を文字列で指定します。

@raise NameError alias で指定したコマンドが無い場合に発生します。

使用例: ls -la | sort -k 5 のような例。
require 'shell'
Shell.def_system_command("ls")
Shell.alias_command("lsla", "ls", "-a", "-l")
Shell.def_system_command("sort")
sh = Shell.new
sh.trans...

絞り込み条件を変える

Shell.install_system_commands(pre = "sys_") -> () (27355.0)

system_path上にある全ての実行可能ファイルをShellに定義する. メソッ ド名は元のファイル名の頭にpreをつけたものとなる.

system_path上にある全ての実行可能ファイルをShellに定義する. メソッ
ド名は元のファイル名の頭にpreをつけたものとなる.

@param pre Shellに定義するメソッド名の先頭に付加される文字列を指定します。

使用例: ls -l | head -n 5 のような例。

require 'shell'
Shell.install_system_commands
sh = Shell.new
sh.verbose = false
sh.transact {
(sys_ls("-l") | sys_head("-n 5")).each {|l...

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

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

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

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

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

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

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

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

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

Shell::CommandProcessor#finish_all_jobs (27301.0)

@todo

@todo

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

@todo

@todo

コマンド名を返します。

絞り込み条件を変える

IRB::ExtendCommand::PushWorkspace (27001.0)

irb 中の irb_push_workspace コマンドのための拡張を定義したクラスです。

irb 中の irb_push_workspace コマンドのための拡張を定義したクラスです。

Shell::BuiltInCommand (27001.0)

クラスとして実装されている全てのビルトインコマンドのスーパークラスです。

クラスとして実装されている全てのビルトインコマンドのスーパークラスです。

Shell::CommandProcessor (27001.0)

Shell::Error::CommandNotFound (27001.0)

コマンドが見つからないときに発生する例外です。

コマンドが見つからないときに発生する例外です。

Shell::SystemCommand (27001.0)

絞り込み条件を変える

Shell::CommandProcessor#system(command, *opts) -> Shell::SystemCommand (19078.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::SystemCommand.new(sh, command, *opts) (18643.0)

@todo

@todo

@param sh

@param command

@param opts

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

@todo

@todo

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

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

Shell::CommandProcessor#[](command, file1, file2 = nil) -> bool | Time | Integer | nil (18451.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 (18451.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#cat(*files) -> Shell::Filter (18355.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 (18355.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#glob(pattern) -> Shell::Filter (18355.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#tee(file) -> Shell::Filter (18355.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::CommandProcessor.alias_map -> Hash (18349.0)

Shell::CommandProcessor.alias_command で定義したエイリアスの一覧を返します。

Shell::CommandProcessor.alias_command で定義したエイリアスの一覧を返します。

絞り込み条件を変える

Gem::Commands::DependencyCommand#find_gems(name, source_index) -> Hash (18301.0)

与えられた Gem の名前をインデックスから検索します。

与えられた Gem の名前をインデックスから検索します。

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

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

@see Gem::SourceIndex#search

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

@todo

@todo

Shell::CommandProcessor.new(shell) (18301.0)

@todo

@todo

Shell::CommandProcessor#transact { ... } -> object (18091.0)

ブロック中で shell を self として実行します。

ブロック中で shell を self として実行します。

例:

require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact{
system("ls", "-l") | head > STDOUT
# transact の中では、
# sh.system("ls", "-l") | sh.head > STDOUT と同じとなる。
}

Shell::CommandProcessor#out(dev = STDOUT, &block) -> () (18055.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::CommandProcessor#foreach(path = nil, &block) -> () (18037.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#mkdir(*path) -> Array (18037.0)

Dir.mkdirと同じです。 (複数可)

Dir.mkdirと同じです。 (複数可)

@param path 作成するディレクトリ名を文字列で指定します。

@return 作成するディレクトリの一覧の配列を返します。

使用例
require 'shell'
Shell.verbose = false
sh = Shell.new
begin
p sh.mkdir("foo") #=> ["foo"]
rescue => err
puts err
end

optparse/shellwords (18019.0)

OptionParser#on で使用可能な引数に Shellwords 追加されます。 オプションの引数は Shellwords.#shellwords によって配列に変換されてから、 OptionParser#on のブロックに渡されます。

OptionParser#on で使用可能な引数に Shellwords
追加されます。
オプションの引数は Shellwords.#shellwords によって配列に変換されてから、
OptionParser#on のブロックに渡されます。

//emlist[][ruby]{
require 'optparse/shellwords'
opts = OptionParser.new

opts.on("-s VAL", Shellwords){|a|
p a #=> ["hoge", "foo", "bar"]
}
opts.parse!

# ruby command -s hog...

IRB::ExtendCommand::PushWorkspace#execute(*obj) -> [IRB::WorkSpace] (18001.0)

UNIX シェルコマンドの pushd と同じです。

UNIX シェルコマンドの pushd と同じです。

@param obj IRB::WorkSpace オブジェクトを指定します。複数指定した
場合は先頭のオブジェクトのみが設定されます。

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

@todo

@todo

絞り込み条件を変える

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

@todo

@todo

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

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

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

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

@see File.atime

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

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

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

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

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

@see File.basename

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

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

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

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

@see FileTest.#blockdev?

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

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

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

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

@see FileTest.#chardev?

絞り込み条件を変える

Shell::CommandProcessor#check_point (18001.0)

@todo

@todo

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

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

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

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

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

@see File.chmod

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

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

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

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

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

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

@see File.chown

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

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

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

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

@see File.ctime

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

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

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

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

@see File.delete

絞り込み条件を変える

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

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

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

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

@see FileTest.#directory?

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

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

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

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

@see File.dirname

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

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

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

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

@see FileTest.#executable?

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

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

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

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

@see FileTest.#executable_real?

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

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

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

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

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

絞り込み条件を変える

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

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

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

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

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

Shell::CommandProcessor#expand_path(path) -> String (18001.0)

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

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

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

@see File.expand_path

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

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

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

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

@see FileTest.#file?

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

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

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

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

@see File.ftype

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

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

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

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

@see FileTest.#grpowned?

絞り込み条件を変える

Shell::CommandProcessor#identical? (18001.0)

@todo

@todo

Shell::CommandProcessor#join(*item) -> String (18001.0)

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

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

@param item 連結したいディレクトリ名やファイル名を文字列で与えます。

@see File.join

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

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

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

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

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

@see File.link

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

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

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

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

@see File.lstat

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

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

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

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

@see File.mtime

絞り込み条件を変える

Shell::CommandProcessor#notify(*opts) { ... } -> () (18001.0)

@todo

@todo

Shell::CommandProcessor#open(path, mode) -> File | Dir (18001.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 (18001.0)

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

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

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

@see FileTest.#owned?

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

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

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

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

@see FileTest.#pipe?

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

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

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

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

@see FileTest.#readable?

絞り込み条件を変える

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

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

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

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

@see FileTest.#readable_real?

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

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

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

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

@see File.readlink

Shell::CommandProcessor#rename(from, to) -> 0 (18001.0)

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

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

@param from ファイルの名前を文字列で与えます。

@param to 新しいファイル名を文字列で与えます。

@see File.rename

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

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

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

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

@see File.delete

Shell::CommandProcessor#rmdir(*path) -> () (18001.0)

Dir.rmdirと同じです。 (複数可)

Dir.rmdirと同じです。 (複数可)

@param path 削除するディレクトリ名を文字列で指定します。

絞り込み条件を変える

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

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

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

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

@see FileTest.#setgid?

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

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

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

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

@see FileTest.#setuid?

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

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

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

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

@see FileTest.#size FileTest.#size?

Shell::CommandProcessor#size?(file) -> Integer | nil (18001.0)

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

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

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

@see FileTest.#size FileTest.#size?

Shell::CommandProcessor#socket?(file) -> bool (18001.0)

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

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

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

@see FileTest.#socket?

絞り込み条件を変える

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

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

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

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

@see File.split

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

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

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

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

@see File.stat

Shell::CommandProcessor#sticky?(file) -> bool (18001.0)

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

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

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

@see FileTest.#sticky?

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

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

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

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

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

@see File.symlink

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

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

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

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

@see FileTest.#symlink?

絞り込み条件を変える

<< 1 2 > >>