3件ヒット
[1-3件を表示]
(0.166秒)
クラス
- OptionParser (2)
-
REXML
:: ParseException (1)
検索結果
-
REXML
:: ParseException # to _ s -> String (81307.0) -
例外情報を文字列化して返します。
例外情報を文字列化して返します。 -
OptionParser
# to _ s -> String (72307.0) -
サマリの文字列を返します。
サマリの文字列を返します。
//emlist[例][ruby]{
require "optparse"
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... -
OptionParser
# help -> String (36307.0) -
サマリの文字列を返します。
サマリの文字列を返します。
//emlist[例][ruby]{
require "optparse"
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...