るりまサーチ (Ruby 3.0)

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

別のキーワード

  1. win32ole ole_show_help
  2. command show_help
  3. options show_all
  4. options show_all=
  5. options show_hash

ライブラリ

検索結果

OptionParser#ver -> String (54346.0)

program_name、version と release から生成したバージョンを表す文字列を返します。

...ogram_name、version と release から生成したバージョンを表す文字列を返します。

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

OptionParser
.new do |opts|
opts.banner = "Usage: example.rb [options]"
opts.program_name = "Optparse Example"
opts.version = [0, 1]
opts.release =...