Module: Screengem::Factories::FactoryCreationError
- Defined in:
- lib/screengem/factories/factory_creation_error.rb
Overview
Knows the behaviour for error creation primitives.
Instance Attribute Summary collapse
-
#error_message ⇒ Object
readonly
Returns the value of attribute error_message.
Instance Method Summary collapse
Instance Attribute Details
#error_message ⇒ Object (readonly)
Returns the value of attribute error_message.
7 8 9 |
# File 'lib/screengem/factories/factory_creation_error.rb', line 7 def @error_message end |
Instance Method Details
#execute ⇒ Object
13 14 15 |
# File 'lib/screengem/factories/factory_creation_error.rb', line 13 def execute raise Screengem::ScreengemError, end |
#initialize(error_message) ⇒ Object
9 10 11 |
# File 'lib/screengem/factories/factory_creation_error.rb', line 9 def initialize() @error_message = end |