Exception: PlatteModuleCreationException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/exception/platte_module_creation_exception.rb

Overview

Exception thrown during creation of a Platte module

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reason) ⇒ PlatteModuleCreationException

Returns a new instance of PlatteModuleCreationException.



5
6
7
# File 'lib/exception/platte_module_creation_exception.rb', line 5

def initialize reason
  @reason = reason
end

Instance Attribute Details

#reasonObject (readonly)

Returns the value of attribute reason.



9
10
11
# File 'lib/exception/platte_module_creation_exception.rb', line 9

def reason
  @reason
end