Exception: Rex::AmbiguousArgumentError

Inherits:
RuntimeError
  • Object
show all
Includes:
Exception
Defined in:
lib/rex/exceptions.rb

Overview

This exception is raised when an argument is ambiguous.

Instance Method Summary collapse

Constructor Details

#initialize(name = nil) ⇒ AmbiguousArgumentError


92
93
94
# File 'lib/rex/exceptions.rb', line 92

def initialize(name = nil)
  @name = name
end

Instance Method Details

#to_sObject


96
97
98
# File 'lib/rex/exceptions.rb', line 96

def to_s
  "The name #{@name} is ambiguous."
end