Exception: Teapot::GeneratorError
- Inherits:
-
StandardError
- Object
- StandardError
- Teapot::GeneratorError
- Defined in:
- lib/teapot/generator.rb
Instance Attribute Summary collapse
-
#generator ⇒ Object
readonly
Returns the value of attribute generator.
Instance Method Summary collapse
-
#initialize(message, generator = nil) ⇒ GeneratorError
constructor
A new instance of GeneratorError.
Constructor Details
#initialize(message, generator = nil) ⇒ GeneratorError
Returns a new instance of GeneratorError.
29 30 31 32 33 |
# File 'lib/teapot/generator.rb', line 29 def initialize(, generator = nil) super() @generator = generator end |
Instance Attribute Details
#generator ⇒ Object (readonly)
Returns the value of attribute generator.
35 36 37 |
# File 'lib/teapot/generator.rb', line 35 def generator @generator end |