るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.098秒)
トップページ > クエリ:String[x] > バージョン:2.2.0[x] > クエリ:a[x] > クエリ:indent=[x] > ライブラリ:optparse[x]

別のキーワード

  1. _builtin to_a
  2. matrix to_a
  3. to_a
  4. argf.class to_a
  5. dbm to_a

クラス

検索結果

OptionParser#summary_indent -> String (27628.0)

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

...文字列で返します。

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

//emlist[例][ruby]{
require "optparse"

opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end

opts.summary_ind...