class Getopt::AmbiguousOptionError

Attributes

candidates[R]

Public Class Methods

new(option, message, candidates) click to toggle source
Calls superclass method Getopt::GetoptError::new
# File trad-getopt.rb, line 32
def initialize option, message, candidates
  message ||= "Ambiguos option"
  @candidates = candidates
  super option, %|#{message} (#{candidates.join ","})|
end