756件ヒット
[1-100件を表示]
(0.034秒)
ライブラリ
- ビルトイン (48)
- csv (276)
- fileutils (12)
- optparse (156)
-
rdoc
/ generator / darkfish (12) -
rubygems
/ command (24) -
rubygems
/ dependency _ installer (12) -
rubygems
/ security (24) - shell (36)
-
shell
/ builtin-command (6) -
shell
/ command-processor (24) -
shell
/ filter (12) -
shell
/ system-command (18) -
win32
/ registry (12)
クラス
- CSV (252)
-
CSV
:: Table (24) -
Gem
:: Command (24) -
Gem
:: DependencyInstaller (12) - OptionParser (144)
-
RDoc
:: Generator :: Darkfish (12) -
RDoc
:: Options (48) -
RubyVM
:: InstructionSequence (12) - Shell (36)
-
Shell
:: CommandProcessor (24) -
Shell
:: Filter (12) -
Shell
:: SystemCommand (18) -
Shell
:: Void (6)
モジュール
- FileUtils (12)
-
Gem
:: LocalRemoteOptions (12) -
Gem
:: Security (24) - Kernel (36)
-
OptionParser
:: Arguable (12) -
Win32
:: Registry :: API (12)
キーワード
-
DEFAULT
_ OPTIONS (24) - FlushKey (12)
-
OPT
_ TABLE (12) -
add
_ bulk _ threshold _ option (12) -
alias
_ command (18) -
build
_ self _ signed _ cert (12) -
compile
_ option (12) -
default
_ system _ path (6) -
default
_ system _ path= (6) - filter (36)
-
finish
_ page _ dir (12) - foreach (24)
- generate (12)
-
generate
_ line (12) - getopts (60)
- initialize (12)
- instance (24)
- new (24)
- notify (36)
- on (96)
- open (48)
-
optparse
/ shellwords (12) - parse (24)
-
parse
_ line (12) - read (12)
- readlines (12)
-
show
_ all (12) -
show
_ all= (12) -
show
_ hash (12) - spawn (36)
- system (18)
- table (12)
-
to
_ csv (12) -
to
_ s (12) - 環境変数 (12)
検索結果
先頭5件
-
Gem
:: Security :: OPT -> Hash (18201.0) -
ほとんどのメソッドで使用するデフォルトのオプションを返します。
ほとんどのメソッドで使用するデフォルトのオプションを返します。 -
Gem
:: LocalRemoteOptions # add _ bulk _ threshold _ option (15200.0) -
オプション --bulk-threshold を追加します。
...オプション --bulk-threshold を追加します。... -
RDoc
:: Options # show _ hash -> bool (15200.0) -
コマンドライン引数の --show-hash オプションを指定していた場合、true を 返します。そうでない場合は false を返します。
...コマンドライン引数の --show-hash オプションを指定していた場合、true を
返します。そうでない場合は false を返します。... -
optparse
/ shellwords (12000.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 hoge\ foo\ bar
//}... -
OptionParser
:: Arguable # getopts(short _ opt , *long _ opt) -> Hash (9546.0) -
指定された short_opt や long_opt に応じて自身をパースし、結果を Hash として返します。
...指定された short_opt や long_opt に応じて自身をパースし、結果を Hash として返します。
コマンドラインに - もしくは -- を指定した場合、それ以降の解析を行ないません。
@param short_opt ショートネームのオプション(-f や -fx)......ときは空文字列を指定します。
オプションが引数をとる場合は直後に ":" を付けます。
@param long_opt ロングネームのオプション(--version や --bufsize=512)を文字列で指定をします。
オプションが引数をと......ise OptionParser::ParseError 自身のパースに失敗した場合、発生します。
実際は OptionParser::ParseError のサブク
ラスの例外になります。
//emlist[t.rb][ruby]{
require 'optparse'
params = ARGV.getopts(... -
OptionParser
# getopts(*opts) -> Hash (9312.0) -
引数をパースした結果を、Hash として返します。
...引数をパースした結果を、Hash として返します。
配列 argv を与えた場合、argv をパースします。そうでない場合は、
default_argv をパースします。
//emlist[][ruby]{
opt = OptionParser.new
params = opt.getopts(ARGV, "ab:", "foo", "bar:")
# params["a"]......ram argv パースしたい配列を指定します。
@param opts 引数を文字列で指定します。
@raise OptionParser::ParseError パースに失敗した場合、発生します。
実際は OptionParser::ParseError のサブク... -
OptionParser
# getopts(argv , *opts) -> Hash (9312.0) -
引数をパースした結果を、Hash として返します。
...引数をパースした結果を、Hash として返します。
配列 argv を与えた場合、argv をパースします。そうでない場合は、
default_argv をパースします。
//emlist[][ruby]{
opt = OptionParser.new
params = opt.getopts(ARGV, "ab:", "foo", "bar:")
# params["a"]......ram argv パースしたい配列を指定します。
@param opts 引数を文字列で指定します。
@raise OptionParser::ParseError パースに失敗した場合、発生します。
実際は OptionParser::ParseError のサブク... -
OptionParser
. getopts(*opts) -> Hash (9300.0) -
引数をパースした結果を、Hash として返します。(self.new.getopts と同じです)
...引数をパースした結果を、Hash として返します。(self.new.getopts と同じです)
@param argv パースしたい配列を指定します。
@param opts 引数を文字列で指定します。
@raise OptionParser::ParseError パースに失敗した場合、発生します。......実際は OptionParser::ParseError のサブク
ラスになります。
@see OptionParser#getopts... -
OptionParser
. getopts(argv , *opts) -> Hash (9300.0) -
引数をパースした結果を、Hash として返します。(self.new.getopts と同じです)
...引数をパースした結果を、Hash として返します。(self.new.getopts と同じです)
@param argv パースしたい配列を指定します。
@param opts 引数を文字列で指定します。
@raise OptionParser::ParseError パースに失敗した場合、発生します。......実際は OptionParser::ParseError のサブク
ラスになります。
@see OptionParser#getopts...