66件ヒット
[1-66件を表示]
(0.065秒)
別のキーワード
ライブラリ
- optparse (44)
-
rubygems
/ command (11) -
rubygems
/ specification (11)
クラス
-
Gem
:: Command (11) -
Gem
:: Specification (11) - OptionParser (44)
キーワード
- summarize (22)
-
summary
_ indent (11) -
summary
_ width (11)
検索結果
先頭5件
-
Gem
:: Command # summary -> String (18202.0) -
コマンドの短い説明を返します。
コマンドの短い説明を返します。 -
Gem
:: Specification # summary -> String (18202.0) -
この Gem パッケージの短い説明を返します。
この Gem パッケージの短い説明を返します。 -
OptionParser
# summary _ indent -> String (6220.0) -
サマリを表示する時のインデントを文字列で返します。
...pdate")
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 # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --... -
OptionParser
# summary _ width -> Integer (6220.0) -
サマリを表示するときの幅を整数で返します。
...("-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
opts.summarize
# => [" -i\n", " --init\n", " -u\n", " --upd... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () (305.0) -
サマリを指定された to へと加えていきます。
..."--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", " --init\n", " -u\n", " --update\n", " -h\n", "... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) {|line| . . . } -> () (305.0) -
サマリを指定された to へと加えていきます。
..."--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", " --init\n", " -u\n", " --update\n", " -h\n", "...