るりまサーチ

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

別のキーワード

  1. optparse summary_indent=
  2. optparse summary_indent
  3. optionparser summary_indent=
  4. optionparser summary_indent
  5. command summary=

ライブラリ

クラス

検索結果

OptionParser#summary_indent=(indent) (24226.0)

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

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

OptionParser#summary_indent -> String (6126.0)

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

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