Exception: Fix::Error::InvalidSpecificationName
- Inherits:
-
NameError
- Object
- NameError
- Fix::Error::InvalidSpecificationName
- 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
-
#initialize(name) ⇒ InvalidSpecificationName
constructor
A new instance of InvalidSpecificationName.
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 |