るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.098秒)

別のキーワード

  1. win32ole ole_obj_help
  2. win32ole ole_method_help
  3. win32ole ole_show_help
  4. irb/help print_usage
  5. un help

ライブラリ

検索結果

OptionParser#summary_indent -> String (18240.0)

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

...ts = 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"]
//}...