るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.032秒)
トップページ > クラス:OptionParser[x] > 種類:インスタンスメソッド[x] > クエリ:parse[x] > クエリ:on[x] > クエリ:help[x] > クエリ:summarize[x] > クエリ:summary_indent=[x]

別のキーワード

  1. optparse summarize
  2. optionparser summarize
  3. win32ole ole_show_help
  4. win32ole ole_method_help
  5. win32ole ole_obj_help

ライブラリ

検索結果

OptionParser#summary_indent=(indent) (24156.0)

サマリを表示する時のインデントを文字列で指定します。

...quire "optparse"

opts = 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 # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
//}...

OptionParser#summary_indent -> String (6056.0)

サマリを表示する時のインデントを文字列で返します。

...quire "optparse"

opts = 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 = " "
opt...
...s.summary_indent # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
//}...