Exception: Submarine::MissingAttributesError
- Inherits:
-
StandardError
- Object
- StandardError
- Submarine::MissingAttributesError
- Defined in:
- lib/submarine/exceptions.rb
Overview
If no attributes are sent to Submarine.new, throw this.
Instance Method Summary collapse
-
#initialize(message = 'No attributes provided') ⇒ MissingAttributesError
constructor
A new instance of MissingAttributesError.
Constructor Details
#initialize(message = 'No attributes provided') ⇒ MissingAttributesError
Returns a new instance of MissingAttributesError.
6 7 8 |
# File 'lib/submarine/exceptions.rb', line 6 def initialize( = 'No attributes provided') super() end |