ライブラリ
-
drb
/ extservm (1) -
irb
/ cmd / chws (2) -
irb
/ cmd / help (1) -
irb
/ cmd / load (3) -
irb
/ cmd / nop (2) -
irb
/ cmd / pushws (3) -
irb
/ cmd / subirb (4) -
irb
/ ext / use-loader (2) -
irb
/ extend-command (3) - mkmf (7)
-
net
/ imap (1) - optparse (12)
- rake (1)
-
rake
/ packagetask (4) -
rubygems
/ command (21) -
rubygems
/ command _ manager (2) -
rubygems
/ commands / build _ command (3) -
rubygems
/ commands / dependency _ command (4) -
rubygems
/ commands / lock _ command (1) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ commands / update _ command (2) -
rubygems
/ commands / which _ command (2) -
rubygems
/ version _ option (2) - shell (10)
-
shell
/ builtin-command (2) -
shell
/ command-processor (54) -
shell
/ filter (16) -
shell
/ process-controller (5) -
shell
/ system-command (15)
クラス
-
DRb
:: ExtServManager (1) -
Gem
:: Command (21) -
Gem
:: CommandManager (2) -
Gem
:: Commands :: BuildCommand (3) -
Gem
:: Commands :: DependencyCommand (4) -
Gem
:: Commands :: LockCommand (1) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: Commands :: UpdateCommand (2) -
Gem
:: Commands :: WhichCommand (2) -
IRB
:: ExtendCommand :: ChangeWorkspace (1) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (1) -
IRB
:: ExtendCommand :: Foreground (1) -
IRB
:: ExtendCommand :: Help (1) -
IRB
:: ExtendCommand :: IrbCommand (1) -
IRB
:: ExtendCommand :: Jobs (1) -
IRB
:: ExtendCommand :: Kill (1) -
IRB
:: ExtendCommand :: Load (1) -
IRB
:: ExtendCommand :: Nop (2) -
IRB
:: ExtendCommand :: PopWorkspace (1) -
IRB
:: ExtendCommand :: PushWorkspace (1) -
IRB
:: ExtendCommand :: Require (1) -
IRB
:: ExtendCommand :: Source (1) -
IRB
:: ExtendCommand :: Workspaces (1) -
Net
:: IMAP :: FetchData (1) - OptionParser (12)
-
Rake
:: PackageTask (4) - Shell (10)
-
Shell
:: BuiltInCommand (2) -
Shell
:: CommandProcessor (54) -
Shell
:: Filter (16) -
Shell
:: ProcessController (5) -
Shell
:: SystemCommand (15)
モジュール
- FileUtils (1)
-
Gem
:: VersionOption (2) -
IRB
:: ExtendCommandBundle (5) - Kernel (7)
キーワード
- < (1)
- > (1)
- >> (1)
- [] (3)
- active? (2)
-
add
_ extra _ args (1) -
add
_ option (1) -
add
_ platform _ option (1) -
add
_ schedule (1) -
add
_ version _ option (1) - append (1)
- arguments (3)
- atime (1)
- attr (1)
- basename (1)
- begins? (1)
- cat (3)
-
cc
_ command (1) -
check
_ point (1) - chmod (1)
- chown (1)
- concat (1)
-
cpp
_ command (1) - ctime (1)
- defaults (1)
- defaults= (1)
-
defaults
_ str (1) - delete (1)
- description (1)
- directory? (1)
- dirname (1)
-
do
_ rubygems _ update (1) - each (1)
- echo (3)
- executable? (1)
-
executable
_ real? (1) - execute (17)
- exist? (1)
- exists? (1)
-
find
_ command _ possibilities (1) -
find
_ paths (1) -
find
_ system _ command (3) -
finish
_ all _ jobs (1) - flush (1)
- foreach (1)
- ftype (1)
-
gem
_ paths (1) -
get
_ all _ gem _ names (1) -
get
_ one _ gem _ name (1) -
get
_ one _ optional _ argument (1) -
get
_ path (1) - glob (3)
- identical? (1)
- input= (1)
-
install
_ alias _ method (1) -
irb
_ context (2) -
irb
_ exit (1) -
irb
_ load (1) -
irb
_ require (1) - join (1)
- kill (1)
-
kill
_ job (1) -
link
_ command (1) - lstat (1)
- mkdir (1)
- mtime (1)
- name (1)
- notify (3)
- on (12)
- open (1)
- out (3)
-
print
_ dependencies (1) -
program
_ name (1) - readlink (1)
-
register
_ command (1) -
remove
_ option (1) - rename (1)
- rm (1)
- rmdir (1)
- service (1)
- setgid? (1)
- setuid? (1)
- sfork (1)
- sh (1)
- size (1)
- size? (1)
- socket? (1)
-
spec
_ path (1) - split (1)
- start (1)
-
start
_ export (1) -
start
_ import (1) -
start
_ job (1) - stat (1)
- sticky? (1)
- summary (1)
- summary= (1)
-
super
_ each (1) - system (3)
-
tar
_ command (1) -
tar
_ command= (1) - tee (3)
- terminate (1)
-
terminate
_ job (1) - test (3)
-
to
_ a (1) -
to
_ s (1) - transact (3)
- truncate (1)
-
try
_ do (2) - unlink (1)
- usage (3)
- utime (1)
- wait? (2)
-
which
_ to _ update (1) -
world
_ writable? (1) - writable? (1)
-
writable
_ real? (1) - xpopen (1)
- xsystem (1)
-
zip
_ command (1) -
zip
_ command= (1) - | (1)
検索結果
先頭5件
-
Shell
:: SystemCommand # command -> String (72607.0) -
@todo
@todo
コマンド名を返します。 -
Gem
:: Command # command -> String (63607.0) -
コマンドの名前を返します。
コマンドの名前を返します。 -
Shell
:: SystemCommand # terminate -> () (54604.0) -
@todo
@todo -
Gem
:: CommandManager # find _ command _ possibilities(command _ name) -> Array (45928.0) -
登録されているコマンドでマッチする可能性のあるものを返します。
登録されているコマンドでマッチする可能性のあるものを返します。
@param command_name コマンド名を文字列で指定します。 -
Gem
:: CommandManager # register _ command(command _ name) -> false (45928.0) -
コマンドを自身に登録します。
コマンドを自身に登録します。
@param command_name コマンド名をシンボルで指定します。 -
Rake
:: PackageTask # tar _ command=(command) (45928.0) -
tar コマンドとして使用するコマンドを設定します。
tar コマンドとして使用するコマンドを設定します。
@param command コマンドを文字列で指定します。 -
Shell
:: CommandProcessor # find _ system _ command(command) (45910.0) -
@todo
@todo -
Shell
:: Filter # find _ system _ command(command) (45910.0) -
@todo
@todo -
Rake
:: PackageTask # tar _ command -> String (45607.0) -
tar コマンドとして使用するコマンドを返します。
tar コマンドとして使用するコマンドを返します。
デフォルトは 'tar' です。 -
Gem
:: Commands :: UpdateCommand # do _ rubygems _ update(version) (45304.0) -
RubyGems 自体を更新します。
RubyGems 自体を更新します。 -
Gem
:: Commands :: UpdateCommand # which _ to _ update(highest _ installed _ gems , gem _ names) -> Array (45304.0) -
更新が必要な Gem のリストを返します。
更新が必要な Gem のリストを返します。 -
IRB
:: ExtendCommand :: IrbCommand # execute(*obj) -> IRB :: Irb (45304.0) -
新しいサブ irb インタプリタを起動します。
新しいサブ irb インタプリタを起動します。
@param obj 新しいサブ irb インタプリタで self にするオブジェクトを指定
します。省略した場合は irb を起動したときの main オブジェク
トを self にします。 -
Shell
# find _ system _ command(command) (36910.0) -
@todo
@todo -
IRB
:: ExtendCommand :: Nop # irb _ context -> IRB :: Context (36604.0) -
irb の現在の設定(IRB::Context)を返します。
irb の現在の設定(IRB::Context)を返します。 -
IRB
:: ExtendCommandBundle # irb _ context -> IRB :: Context (36604.0) -
現在の irb に関する IRB::Context を返します。
現在の irb に関する IRB::Context を返します。 -
Gem
:: Commands :: BuildCommand # arguments -> String (36304.0) -
引数の説明を表す文字列を返します。
引数の説明を表す文字列を返します。 -
Gem
:: Commands :: BuildCommand # execute -> () (36304.0) -
コマンドを実行します。
コマンドを実行します。 -
Gem
:: Commands :: DependencyCommand # arguments -> String (36304.0) -
引数の説明を表す文字列を返します。
引数の説明を表す文字列を返します。 -
Gem
:: Commands :: DependencyCommand # execute -> () (36304.0) -
コマンドを実行します。
コマンドを実行します。 -
Gem
:: Commands :: DependencyCommand # print _ dependencies(spec , level = 0) -> String (36304.0) -
依存関係を表す文字列を返します。
依存関係を表す文字列を返します。
@param spec Gem::Specification のインスタンスを指定します。
@param level 依存関係の深さを指定します。 -
Gem
:: Commands :: LockCommand # spec _ path(gem _ full _ name) -> String (36304.0) -
指定された Gem パッケージの gemspec ファイルのフルパスを返します。
指定された Gem パッケージの gemspec ファイルのフルパスを返します。
@param gem_full_name Gem パッケージの名前を指定します。 -
Gem
:: Commands :: UnpackCommand # get _ path(gemname , version _ req) -> String | nil (36304.0) -
引数で指定された条件にマッチする Gem パッケージを保存しているパスを返します。
引数で指定された条件にマッチする Gem パッケージを保存しているパスを返します。
@param gemname Gem パッケージの名前を指定します。
@param version_req バージョンの満たすべき条件を文字列で指定します。 -
Gem
:: Commands :: WhichCommand # find _ paths(package _ name , dirs) -> Array (36304.0) -
dirs から package_name という名前を持つファイルを探索します。
dirs から package_name という名前を持つファイルを探索します。
以下の拡張子を持つファイルが対象です。
%w[.rb .rbw .so .dll .bundle]
@param package_name ファイルの名前を指定します。
@param dirs 探索するディレクトリを文字列の配列で指定します。 -
Gem
:: Commands :: WhichCommand # gem _ paths(spec) -> Array (36304.0) -
与えられた Gem::Specification のインスタンスからその Gem が require するファイルのあるディレクトリをまとめて返します。
与えられた Gem::Specification のインスタンスからその Gem が
require するファイルのあるディレクトリをまとめて返します。
@param spec Gem::Specification のインスタンスを指定します。 -
IRB
:: ExtendCommand :: ChangeWorkspace # execute(*obj) -> obj (36304.0) -
irb の self を obj で指定したオブジェクトに設定します。self に設定され たオブジェクトを返します。
irb の self を obj で指定したオブジェクトに設定します。self に設定され
たオブジェクトを返します。
@param obj 任意のオブジェクトを指定できます。複数指定した場合は先頭のオ
ブジェクトのみが設定されます。 -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace # execute(*obj) -> obj (36304.0) -
irb の self を返します。
irb の self を返します。
@param obj 使用しません。 -
IRB
:: ExtendCommand :: Foreground # execute(*obj) -> IRB :: Irb (36304.0) -
指定したサブ irb に移動します。
指定したサブ irb に移動します。
@param obj 移動するサブ irb を識別する以下のいずれかのオブジェクトを指定します。
* irb インタプリタ番号
* irb オブジェクト
* スレッド ID
* 各インタプリタの self (「irb(obj)」で起動した時の obj) -
IRB
:: ExtendCommand :: Help # execute(*names) -> nil (36304.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 :: Jobs # execute -> IRB :: JobManager (36304.0) -
サブ irb のリストを返します。
サブ irb のリストを返します。 -
IRB
:: ExtendCommand :: Kill # execute(*obj) -> object (36304.0) -
指定したサブ irb を停止します。
指定したサブ irb を停止します。
@param obj 停止するサブ irb を識別する以下のいずれかのオブジェクトを指定します。
* irb インタプリタ番号
* irb オブジェクト
* スレッド ID
* 各インタプリタの self (「irb(obj)」で起動した時の obj) -
IRB
:: ExtendCommand :: Load # execute(file _ name , priv = nil) -> nil (36304.0) -
ファイル path を Ruby スクリプトとみなし、現在の irb インタプリタ上で実 行します。
ファイル path を Ruby スクリプトとみなし、現在の irb インタプリタ上で実
行します。
Kernel.#load と異なり、path の内容を irb で一行ずつタイプしたかの
ように、irb 上で一行ずつ評価されます。
@param file_name ファイル名を文字列で指定します。
@param priv 真を指定した場合は実行は内部的に生成される無名モジュール上
で行われ、グローバルな名前空間を汚染しません。
@raise LoadError 読み込みに失敗した場合に発生します。 -
IRB
:: ExtendCommand :: Nop # execute(*opts) -> () (36304.0) -
何もしません。サブクラスでオーバーライドして使用します。
何もしません。サブクラスでオーバーライドして使用します。
@param opts irb 中でコマンドに渡す引数を指定します。 -
IRB
:: ExtendCommand :: PopWorkspace # execute(*obj) -> [IRB :: WorkSpace] (36304.0) -
UNIX シェルコマンドの popd と同じです。
UNIX シェルコマンドの popd と同じです。
@param obj 使用しません。 -
IRB
:: ExtendCommand :: PushWorkspace # execute(*obj) -> [IRB :: WorkSpace] (36304.0) -
UNIX シェルコマンドの pushd と同じです。
UNIX シェルコマンドの pushd と同じです。
@param obj IRB::WorkSpace オブジェクトを指定します。複数指定した
場合は先頭のオブジェクトのみが設定されます。 -
IRB
:: ExtendCommand :: Require # execute(file _ name) -> bool (36304.0) -
ファイル file_name を現在の irb インタプリタ上で実行します。
ファイル file_name を現在の irb インタプリタ上で実行します。
file_name に Ruby スクリプトを指定した場合は、Kernel.#require と異
なり、file_name の内容を irb で一行ずつタイプしたかのように、irb 上で一
行ずつ評価されます。require に成功した場合は true を、そうでない場合は
false を返します。
拡張ライブラリ(*.so,*.o,*.dll など)を指定した場合は単純に require され
ます。
@param file_name ファイル名を文字列で指定します。 -
IRB
:: ExtendCommand :: Source # execute(file _ name) -> nil (36304.0) -
現在の irb インタプリタ上で、 Ruby スクリプト path を評価します。
現在の irb インタプリタ上で、 Ruby スクリプト path を評価します。
path の内容を irb で一行ずつタイプしたかのように、irb 上で一行ずつ評価
されます。$" は更新されず、何度でも実行し直す事ができます。
@param file_name ファイル名を文字列で指定します。 -
IRB
:: ExtendCommand :: Workspaces # execute(*obj) -> [IRB :: WorkSpace] (36304.0) -
現在のワークスペースの一覧を返します。
現在のワークスペースの一覧を返します。
@param obj 使用しません。 -
Shell
:: BuiltInCommand # active? -> true (36304.0) -
@todo
@todo -
Shell
:: CommandProcessor # system(command , *opts) -> Shell :: SystemCommand (28309.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
:: Filter # system(command , *opts) -> Shell :: SystemCommand (28309.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
:: ProcessController # terminate _ job(command) (27925.0) -
指定されたコマンドを終了します。
指定されたコマンドを終了します。
@param command コマンドを指定します。 -
Shell
:: CommandProcessor # utime(atime , mtime , *filename) -> Integer (27904.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。
@see File.utime -
Rake
:: PackageTask # zip _ command=(command) (27628.0) -
zip コマンドとして使用するコマンドを設定します。
zip コマンドとして使用するコマンドを設定します。
@param command コマンドを文字列で指定します。 -
Gem
:: VersionOption # add _ platform _ option(task = command , *wrap) (27625.0) -
option parser に対して --platform オプションを追加します。
option parser に対して --platform オプションを追加します。
@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。
@param wrap Gem::Command#add_option に渡すその他のオプションを指定します。 -
Gem
:: VersionOption # add _ version _ option(task = command , *wrap) (27625.0) -
option parser に対して --version オプションを追加します。
option parser に対して --version オプションを追加します。
@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。
@param wrap Gem::Command#add_option に渡すその他のオプションを指定します。 -
Shell
:: CommandProcessor # tee(file) -> Shell :: Filter (27622.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 # tee(file) -> Shell :: Filter (27622.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... -
Rake
:: PackageTask # zip _ command -> String (27607.0) -
zip コマンドとして使用するコマンドを返します。
zip コマンドとして使用するコマンドを返します。
デフォルトは 'zip' です。 -
Gem
:: Command # add _ option(*opts) {|value , options| . . . } (27604.0) -
コマンドに対するコマンドラインオプションとハンドラを追加します。
コマンドに対するコマンドラインオプションとハンドラを追加します。
ブロックには、コマンドライン引数の値とそのオプションが渡されます。
オプションはハッシュになっています。
@param opts オプションを指定します。
@see OptionParser#make_switch -
Gem
:: Command # merge _ options(new _ options) -> Hash (27604.0) -
与えられたオプションとデフォルトのオプションをマージします。 しかし、新しいオプションに同一のキーがあってもデフォルトのオプションは変更されません。
与えられたオプションとデフォルトのオプションをマージします。
しかし、新しいオプションに同一のキーがあってもデフォルトのオプションは変更されません。
@param new_options 新しいコマンドオプションをハッシュで指定します。 -
Shell
:: CommandProcessor # atime(filename) -> Time (27604.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.atime -
Shell
:: CommandProcessor # ctime(filename) -> Time (27604.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.ctime -
Shell
:: CommandProcessor # delete(*filename) -> Integer (27604.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.delete -
Shell
:: CommandProcessor # expand _ path(path) -> String (27604.0) -
Fileクラスにある同名のクラスメソッドと同じです.
Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path -
Shell
:: CommandProcessor # lstat(filename) -> File :: Stat (27604.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.lstat -
Shell
:: CommandProcessor # mtime(filename) -> Time (27604.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.mtime -
Shell
:: CommandProcessor # stat(filename) -> File :: Stat (27604.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.stat -
Gem
:: Command # defaults _ str -> String (27322.0) -
このメソッドはサブクラスで再定義されます。 コマンドのオプションで使用するデフォルト値を表示するために使用する文字列を返します。
このメソッドはサブクラスで再定義されます。
コマンドのオプションで使用するデフォルト値を表示するために使用する文字列を返します。
@see Gem::Command#arguments -
Shell
:: CommandProcessor # cat(*files) -> Shell :: Filter (27322.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 # out(dev = STDOUT , &block) -> () (27322.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 # transact { . . . } -> object (27322.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
:: SystemCommand # name -> String (27307.0) -
@todo
@todo
コマンド名を返します。 -
Gem
:: Command # add _ extra _ args(args) -> Array (27304.0) -
$HOME/.gemrc から読み込んだ引数を追加します。
$HOME/.gemrc から読み込んだ引数を追加します。
@param args 追加する引数を配列で指定します。 -
Gem
:: Command # arguments -> String (27304.0) -
このメソッドはサブクラスで再定義されます。 コマンドが取る引数の説明を表示するために使用します。
このメソッドはサブクラスで再定義されます。
コマンドが取る引数の説明を表示するために使用します。
サブクラスで実装する場合は、一つの引数につき一行で、左揃えの文字列を返すようにしてください。 -
Gem
:: Command # defaults -> Hash (27304.0) -
デフォルトのオプションを返します。
デフォルトのオプションを返します。 -
Gem
:: Command # defaults=(hash) (27304.0) -
コマンドで使用するデフォルトのオプションをセットします。
コマンドで使用するデフォルトのオプションをセットします。
@param hash オプションをハッシュで指定します。 -
Gem
:: Command # description -> String (27304.0) -
このメソッドはサブクラスで再定義されます。 コマンドが実行することを説明する文字列を返します。
このメソッドはサブクラスで再定義されます。
コマンドが実行することを説明する文字列を返します。 -
Gem
:: Command # execute -> () (27304.0) -
このメソッドはサブクラスで再定義されます。 コマンドを実行します。
このメソッドはサブクラスで再定義されます。
コマンドを実行します。
@raise RuntimeError このメソッドがサブクラスで再定義されていない場合に発生します。 -
Gem
:: Command # get _ all _ gem _ names -> Array (27304.0) -
コマンドラインで与えられた Gem の名前を全て取得して返します。
コマンドラインで与えられた Gem の名前を全て取得して返します。
@raise Gem::CommandLineError コマンドライン引数から Gem の名前を取得できない場合に発生します。 -
Gem
:: Command # get _ one _ gem _ name -> String (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 # options -> Hash (27304.0) -
コマンドで使用するオプションを返します。
コマンドで使用するオプションを返します。 -
Gem
:: Command # remove _ option(name) (27304.0) -
与えられた名前に一致するコマンドラインオプションを削除します。
与えられた名前に一致するコマンドラインオプションを削除します。
@param name 削除したいコマンドラインオプションの名前を指定します。 -
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 _ exit(ret = 0) -> object (27304.0) -
irb を終了します。ret で指定したオブジェクトを返します。
irb を終了します。ret で指定したオブジェクトを返します。
@param ret 戻り値を指定します。
ユーザが直接使用するものではありません。 -
Shell
:: BuiltInCommand # wait? -> false (27304.0) -
@todo
@todo -
Shell
:: CommandProcessor # check _ point (27304.0) -
@todo
@todo -
Shell
:: CommandProcessor # concat(*jobs) -> Shell :: Concat (27304.0) -
@todo
@todo -
Shell
:: CommandProcessor # directory?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory? -
Shell
:: CommandProcessor # executable?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable? -
Shell
:: CommandProcessor # executable _ real?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real? -
Shell
:: CommandProcessor # exist?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#exist? FileTest.#exists? -
Shell
:: CommandProcessor # exists?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#exist? FileTest.#exists? -
Shell
:: CommandProcessor # ftype(filename) -> String (27304.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.ftype -
Shell
:: CommandProcessor # identical? (27304.0) -
@todo
@todo -
Shell
:: CommandProcessor # notify(*opts) { . . . } -> () (27304.0) -
@todo
@todo -
Shell
:: CommandProcessor # setgid?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#setgid? -
Shell
:: CommandProcessor # setuid?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#setuid? -
Shell
:: CommandProcessor # socket?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#socket? -
Shell
:: CommandProcessor # split(pathname) -> [String] (27304.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param pathname パス名を表す文字列を指定します。
@see File.split -
Shell
:: CommandProcessor # sticky?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#sticky? -
Shell
:: CommandProcessor # truncate(path , length) -> 0 (27304.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate -
Shell
:: CommandProcessor # world _ writable? (27304.0) -
@todo
@todo -
Shell
:: CommandProcessor # writable?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable? -
Shell
:: CommandProcessor # writable _ real?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable_real? -
Shell
:: SystemCommand # active? -> bool (27304.0) -
@todo
@todo -
Shell
:: SystemCommand # input=(inp) (27304.0) -
@todo
@todo -
Shell
:: SystemCommand # notify(*opts) -> String (27304.0) -
@todo
@todo
@param opts
@see Shell#notify -
Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String (27304.0) -
@todo
@todo
@param opts
@see Shell#notify