108件ヒット
[101-108件を表示]
(0.018秒)
ライブラリ
- 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)
検索結果
-
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", "...