ArgumentError
This exception is raised when an invalid argument is supplied to a method.
# File lib/rex/exceptions.rb, line 56 def initialize(message = nil) @message = message end
# File lib/rex/exceptions.rb, line 60 def to_s str = 'An invalid argument was specified.' if @message str << " #{@message}" end str end
[Validate]
Generated with the Darkfish Rdoc Generator 2.