Exception: Squib::Sprues::InvalidSprueDefinition

Inherits:
StandardError
  • Object
show all
Defined in:
lib/squib/sprues/invalid_sprue_definition.rb

Instance Method Summary collapse

Constructor Details

#initialize(file, error) ⇒ InvalidSprueDefinition

Returns a new instance of InvalidSprueDefinition



4
5
6
# File 'lib/squib/sprues/invalid_sprue_definition.rb', line 4

def initialize(file, error)
  super("Invalid sprue definition in file: #{file}. #{error.message}")
end