Exception: Submarine::MissingFormatKeyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/submarine/exceptions.rb

Overview

If no :format_key is sent to Submarine.new, throw this.

Instance Method Summary collapse

Constructor Details

#initialize(message = 'No format key provided') ⇒ MissingFormatKeyError

Returns a new instance of MissingFormatKeyError.



14
15
16
# File 'lib/submarine/exceptions.rb', line 14

def initialize(message = 'No format key provided')
  super(message)
end