るりまサーチ

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

別のキーワード

  1. optparse summary_indent=
  2. optparse summary_indent
  3. optionparser summary_indent=
  4. optionparser summary_indent
  5. optparse summary_width=

ライブラリ

クラス

検索結果

OptionParser#summary_indent=(indent) (24207.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"...

OptionParser#summary_indent -> String (6107.0)

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

..., "--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", "...