るりまサーチ

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

別のキーワード

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

ライブラリ

クラス

検索結果

OptionParser#help -> String (18211.0)

サマリの文字列を返します。

...se"

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

opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
options[:verbose] = v
end
end

puts opts.help

# => Usage: example.rb [options]
# -v, --[no-]verbose Run verbosely
//}...

OptionParser#to_s -> String (18211.0)

サマリの文字列を返します。

...se"

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

opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
options[:verbose] = v
end
end

puts opts.help

# => Usage: example.rb [options]
# -v, --[no-]verbose Run verbosely
//}...