600件ヒット
[501-600件を表示]
(0.036秒)
別のキーワード
ライブラリ
- optparse (600)
キーワード
- accept (12)
-
default
_ argv (12) -
default
_ argv= (12) - environment (12)
- getopts (24)
- help (12)
- load (12)
- on (144)
-
on
_ head (12) -
on
_ tail (12) - order (48)
- order! (24)
- parse (24)
- parse! (12)
- permute (24)
- permute! (12)
-
program
_ name (12) -
program
_ name= (12) - reject (12)
- release (12)
- separator (12)
- summarize (24)
-
summary
_ indent (12) -
summary
_ indent= (12) -
summary
_ width (12) -
summary
_ width= (12) -
to
_ a (12) -
to
_ s (12) - ver (12)
検索結果
先頭5件
- OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () - OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) {|line| . . . } -> () - OptionParser
# summary _ indent -> String - OptionParser
# summary _ indent=(indent) - OptionParser
# summary _ width -> Integer
-
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () (3008.0) -
サマリを指定された to へと加えていきます。
...幅を整数で指定します。
@param indent サマリのインデントを文字列で指定します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summarize
# =>... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) {|line| . . . } -> () (3008.0) -
サマリを指定された to へと加えていきます。
...幅を整数で指定します。
@param indent サマリのインデントを文字列で指定します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summarize
# =>... -
OptionParser
# summary _ indent -> String (3008.0) -
サマリを表示する時のインデントを文字列で返します。
...字列で返します。
@return サマリを表示する時のインデントを文字列で返します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_indent... -
OptionParser
# summary _ indent=(indent) (3008.0) -
サマリを表示する時のインデントを文字列で指定します。
...。
@param indent サマリを表示する時に使われるインデントを文字列で指定します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_indent... -
OptionParser
# summary _ width -> Integer (3008.0) -
サマリを表示するときの幅を整数で返します。
...きの幅を整数で返します。
@return サマリを表示するときの幅を整数で返します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_width... -
OptionParser
# summary _ width=(width) (3008.0) -
サマリを表示するときの幅を整数で指定します。
...を整数で指定します。
@param width サマリを表示するときの幅を整数で指定します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_widt... -
OptionParser
# to _ a -> [String] (3008.0) -
サマリの各行を要素とした配列を返します。
...サマリの各行を要素とした配列を返します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.to_a # => ["Usage: test [options]", " -i, --init\n", " -... -
OptionParser
# to _ s -> String (3008.0) -
サマリの文字列を返します。
...サマリの文字列を返します。
//emlist[例][ruby]{
require "optparse"
options = {}
opts = OptionParser.new do |opts|
opts.banner = "Usage: example.rb [options]"
opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
options[:verbose] = v
end
end
puts opts.help
# => Usage:... -
OptionParser
# ver -> String (3008.0) -
program_name、version と release から生成したバージョンを表す文字列を返します。
...program_name、version と release から生成したバージョンを表す文字列を返します。
//emlist[例][ruby]{
require "optparse"
OptionParser.new do |opts|
opts.banner = "Usage: example.rb [options]"
opts.program_name = "Optparse Example"
opts.version = [0, 1]
opts.release...