ライブラリ
クラス
モジュール
- Kernel (3)
キーワード
- active? (1)
-
add
_ extra _ args (1) - arguments (1)
-
command
_ names (1) - directory? (1)
-
do
_ rubygems _ update (1) - each (1)
- execute (1)
-
find
_ command _ possibilities (1) -
find
_ gems (1) -
find
_ paths (1) -
find
_ reverse _ dependencies (1) -
find
_ system _ command (3) - flush (1)
- ftype (1)
-
gem
_ paths (1) -
get
_ all _ gem _ names (1) - input= (1)
- kill (1)
-
load
_ gemspecs (1) - mkdir (1)
- name (1)
- notify (3)
-
print
_ dependencies (1) - start (1)
-
start
_ export (1) -
start
_ import (1) - sticky? (1)
- summary (1)
- summary= (1)
-
super
_ each (1) - symlink (1)
- symlink? (1)
- system (3)
- terminate (1)
-
try
_ do (2) - usage (1)
- wait? (1)
-
which
_ to _ update (1) - xsystem (1)
- yaml? (1)
検索結果
先頭5件
-
Shell
:: SystemCommand # command -> String (72307.0) -
@todo
@todo
コマンド名を返します。 -
Shell
:: CommandProcessor # find _ system _ command(command) (45910.0) -
@todo
@todo -
Shell
# find _ system _ command(command) (36910.0) -
@todo
@todo -
Shell
:: Filter # find _ system _ command(command) (36910.0) -
@todo
@todo -
Gem
:: Commands :: BuildCommand # yaml?(filename) -> bool (36304.0) -
与えられたファイル名を持つファイルが yaml ファイルである場合に真を返します。
与えられたファイル名を持つファイルが yaml ファイルである場合に真を返します。
@param filename ファイル名を指定します。 -
Gem
:: Commands :: UpdateCommand # do _ rubygems _ update(version) (36304.0) -
RubyGems 自体を更新します。
RubyGems 自体を更新します。 -
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 -
Gem
:: CommandManager # find _ command _ possibilities(command _ name) -> Array (27928.0) -
登録されているコマンドでマッチする可能性のあるものを返します。
登録されているコマンドでマッチする可能性のあるものを返します。
@param command_name コマンド名を文字列で指定します。 -
Gem
:: CommandManager # command _ names -> Array (27607.0) -
登録されているコマンド名の配列を返します。
登録されているコマンド名の配列を返します。 -
Gem
:: Command # summary -> String (27304.0) -
コマンドの短い説明を返します。
コマンドの短い説明を返します。 -
Gem
:: Command # summary=(description) (27304.0) -
コマンドの短い説明をセットします。
コマンドの短い説明をセットします。
@param description コマンドの短い説明を指定します。 -
Gem
:: Commands :: DependencyCommand # find _ reverse _ dependencies(spec) -> Array (27304.0) -
与えられた Gem スペックに依存する Gem のリストを返します。
与えられた Gem スペックに依存する Gem のリストを返します。
@param spec Gem::Specification のインスタンスを指定します。 -
Shell
:: CommandProcessor # directory?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory? -
Shell
:: CommandProcessor # ftype(filename) -> String (27304.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.ftype -
Shell
:: CommandProcessor # notify(*opts) { . . . } -> () (27304.0) -
@todo
@todo -
Shell
:: CommandProcessor # sticky?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#sticky? -
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
:: 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 -
Shell
:: SystemCommand # name -> String (27007.0) -
@todo
@todo
コマンド名を返します。 -
Gem
:: Commands :: DependencyCommand # arguments -> String (27004.0) -
引数の説明を表す文字列を返します。
引数の説明を表す文字列を返します。 -
Gem
:: Commands :: DependencyCommand # execute -> () (27004.0) -
コマンドを実行します。
コマンドを実行します。 -
Gem
:: Commands :: DependencyCommand # find _ gems(name , source _ index) -> Hash (27004.0) -
与えられた Gem の名前をインデックスから検索します。
与えられた Gem の名前をインデックスから検索します。
@param name Gem の名前を指定します。
@param source_index Gem::SourceIndex のインスタンスを指定します。
@see Gem::SourceIndex#search -
Gem
:: Commands :: DependencyCommand # print _ dependencies(spec , level = 0) -> String (27004.0) -
依存関係を表す文字列を返します。
依存関係を表す文字列を返します。
@param spec Gem::Specification のインスタンスを指定します。
@param level 依存関係の深さを指定します。 -
Gem
:: Commands :: DependencyCommand # usage -> String (27004.0) -
使用方法を表す文字列を返します。
使用方法を表す文字列を返します。 -
Shell
# system(command , *opts) -> Shell :: SystemCommand (19309.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 (19309.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 -
Kernel
# try _ do(src , command , *opts) -> () (18628.0) -
@param src C プログラムのソースコードを指定します。
@param src C プログラムのソースコードを指定します。
@param command コマンドを指定します。
@param opts オプションを Hash で指定します。
@raise RuntimeError 開発環境がインストールされていない場合に発生します。
@see Kernel#xsystem -
Kernel
# try _ do(src , command , *opts) { . . . } -> () (18628.0) -
@param src C プログラムのソースコードを指定します。
@param src C プログラムのソースコードを指定します。
@param command コマンドを指定します。
@param opts オプションを Hash で指定します。
@raise RuntimeError 開発環境がインストールされていない場合に発生します。
@see Kernel#xsystem -
Kernel
# xsystem(command , opts = nil) -> () (18625.0) -
Kernel.#system と同じですが、コマンドの出力は(標準出力、標準エラー 出力ともに)ログファイルに出力します。ログファイル名は mkmf.log です。
Kernel.#system と同じですが、コマンドの出力は(標準出力、標準エラー
出力ともに)ログファイルに出力します。ログファイル名は mkmf.log です。
@param command コマンドを指定します。
@param opts オプションを Hash で指定します。
:werror というキーに真を指定すると
@see Kernel.#system -
Gem
:: Commands :: BuildCommand # load _ gemspecs(filename) -> Array (18304.0) -
gemspec ファイルをロードします。
gemspec ファイルをロードします。
@param filename ファイル名を指定します。 -
Gem
:: Commands :: UpdateCommand # which _ to _ update(highest _ installed _ gems , gem _ names) -> Array (18304.0) -
更新が必要な Gem のリストを返します。
更新が必要な Gem のリストを返します。 -
Gem
:: Commands :: WhichCommand # find _ paths(package _ name , dirs) -> Array (18304.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 (18304.0) -
与えられた Gem::Specification のインスタンスからその Gem が require するファイルのあるディレクトリをまとめて返します。
与えられた Gem::Specification のインスタンスからその Gem が
require するファイルのあるディレクトリをまとめて返します。
@param spec Gem::Specification のインスタンスを指定します。 -
Shell
:: SystemCommand # active? -> bool (18004.0) -
@todo
@todo -
Shell
:: SystemCommand # each(rs = nil) {|line| . . . } (18004.0) -
@todo
@todo
@param rs -
Shell
:: SystemCommand # flush -> () (18004.0) -
@todo
@todo -
Shell
:: SystemCommand # input=(inp) (18004.0) -
@todo
@todo -
Shell
:: SystemCommand # kill(signal) -> Integer (18004.0) -
自身のプロセスにシグナルを送ります。
自身のプロセスにシグナルを送ります。
@param signal シグナルを整数かその名前の文字列で指定します。
負の値を持つシグナル(あるいはシグナル名の前に-)を指定すると、
プロセスではなくプロセスグループにシグナルを送ります。
@see Process.#kill -
Shell
:: SystemCommand # start -> () (18004.0) -
@todo
@todo -
Shell
:: SystemCommand # start _ export (18004.0) -
@todo
@todo -
Shell
:: SystemCommand # start _ import -> () (18004.0) -
@todo
@todo -
Shell
:: SystemCommand # super _ each -> () (18004.0) -
@todo
@todo
Shell::Filter#each です。 -
Shell
:: SystemCommand # terminate -> () (18004.0) -
@todo
@todo -
Shell
:: SystemCommand # wait? -> bool (18004.0) -
@todo
@todo -
Gem
:: Command # add _ extra _ args(args) -> Array (9304.0) -
$HOME/.gemrc から読み込んだ引数を追加します。
$HOME/.gemrc から読み込んだ引数を追加します。
@param args 追加する引数を配列で指定します。 -
Gem
:: Command # get _ all _ gem _ names -> Array (9304.0) -
コマンドラインで与えられた Gem の名前を全て取得して返します。
コマンドラインで与えられた Gem の名前を全て取得して返します。
@raise Gem::CommandLineError コマンドライン引数から Gem の名前を取得できない場合に発生します。 -
Shell
:: CommandProcessor # mkdir(*path) -> Array (9304.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