108件ヒット
[1-100件を表示]
(0.023秒)
ライブラリ
- optparse (72)
-
rubygems
/ command (12) -
rubygems
/ specification (24)
クラス
-
Gem
:: Command (12) -
Gem
:: Specification (24) - OptionParser (72)
キーワード
- summarize (24)
- summary= (24)
-
summary
_ indent (12) -
summary
_ indent= (12) -
summary
_ width (12) -
summary
_ width= (12)
検索結果
先頭5件
-
Gem
:: Specification # summary -> String (21102.0) -
この Gem パッケージの短い説明を返します。
この Gem パッケージの短い説明を返します。 -
Gem
:: Specification # summary=(summary) (9209.0) -
この Gem パッケージの短い説明をセットします。
...この Gem パッケージの短い説明をセットします。
@param summary 短い説明を指定します。... -
OptionParser
# summary _ indent -> String (9138.0) -
サマリを表示する時のインデントを文字列で返します。
...pts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_indent # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_indent = " "
opts.summary_indent... -
OptionParser
# summary _ indent=(indent) (9138.0) -
サマリを表示する時のインデントを文字列で指定します。
...OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_indent # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_indent = " " # => " "
opts.summary_ind... -
OptionParser
# summary _ width -> Integer (9138.0) -
サマリを表示するときの幅を整数で返します。
...rse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_width # => 32
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_width = 8
opts.summary_width # =>8... -
OptionParser
# summary _ width=(width) (9138.0) -
サマリを表示するときの幅を整数で指定します。
...opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_width # => 32
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_width = 8 # => 8
opts.summary_width #... -
Gem
:: Command # summary=(description) (6202.0) -
コマンドの短い説明をセットします。
...コマンドの短い説明をセットします。
@param description コマンドの短い説明を指定します。... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () (3223.0) -
サマリを指定された to へと加えていきます。
...rse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summarize(["description\n"], 10, 8, " ")
# => ["description\n", " -i\n", "... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) {|line| . . . } -> () (3223.0) -
サマリを指定された to へと加えていきます。
...rse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summarize(["description\n"], 10, 8, " ")
# => ["description\n", " -i\n", "...