Exception: Fix::Error::MissingSpecificationBlock

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/fix/error/missing_specification_block.rb

Overview

Error raised when attempting to build a specification without a block

Constant Summary collapse

MISSING_BLOCK_ERROR =
"Block is required for building a specification"

Instance Method Summary collapse

Constructor Details

#initializeMissingSpecificationBlock

Returns a new instance of MissingSpecificationBlock.



9
10
11
# File 'lib/fix/error/missing_specification_block.rb', line 9

def initialize
  super(MISSING_BLOCK_ERROR)
end