Exception: Fix::Error::InvalidSpecificationName

Inherits:
NameError
  • Object
show all
Defined in:
lib/fix/error/invalid_specification_name.rb

Overview

Error raised when an invalid specification name is provided during declaration

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ InvalidSpecificationName

Returns a new instance of InvalidSpecificationName.



7
8
9
# File 'lib/fix/error/invalid_specification_name.rb', line 7

def initialize(name)
  super("Invalid specification name '#{name}'. Specification names must be valid Ruby constants.")
end