Exception: StructuraidCore::Elements::Reinforcement::EmptyLayers

Inherits:
StandardError
  • Object
show all
Defined in:
lib/structuraid_core/errors/reinforcement/empty_layers.rb

Instance Method Summary collapse

Constructor Details

#initialize(complement) ⇒ EmptyLayers

Returns a new instance of EmptyLayers.



5
6
7
8
9
# File 'lib/structuraid_core/errors/reinforcement/empty_layers.rb', line 5

def initialize(complement)
  message = "There are no layers #{complement}"

  super(message)
end