るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.189秒)
トップページ > バージョン:2.4.0[x] > 種類:インスタンスメソッド[x] > クエリ:d[x] > クエリ:r[x] > クエリ:verbose[x] > クラス:OptionParser[x]

別のキーワード

  1. bigdecimal/util to_d
  2. float to_d
  3. integer to_d
  4. kernel $-d
  5. string to_d

ライブラリ

検索結果

OptionParser#banner=(heading) (18643.0)

サマリの最初に表示される文字列を指定します。

...@param heading サマリの最初に表示される文字列を指定します。

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

options = {}
opts = OptionParser.new do |opts|
opts.banner = "Usage: example.rb [options]" # => "Usage: example.rb [options]"

opts.on("-v", "--[no-]verbose", "Run verbose...