Exception: Upmin::ArgumentError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Upmin::ArgumentError
- Defined in:
- lib/upmin/errors.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(arg) ⇒ ArgumentError
constructor
A new instance of ArgumentError.
Constructor Details
#initialize(arg) ⇒ ArgumentError
Returns a new instance of ArgumentError.
15 16 17 |
# File 'lib/upmin/errors.rb', line 15 def initialize(arg) super("Invalid argument: #{arg}") end |