Exception: Greg::UnexistingTemplateError
- Inherits:
-
Exception
- Object
- Exception
- Greg::UnexistingTemplateError
- Defined in:
- lib/greg/exceptions.rb
Instance Attribute Summary collapse
-
#template ⇒ Object
readonly
Returns the value of attribute template.
Instance Method Summary collapse
-
#initialize(template) ⇒ UnexistingTemplateError
constructor
A new instance of UnexistingTemplateError.
Constructor Details
#initialize(template) ⇒ UnexistingTemplateError
Returns a new instance of UnexistingTemplateError.
4 5 6 |
# File 'lib/greg/exceptions.rb', line 4 def initialize(template) @template = template end |
Instance Attribute Details
#template ⇒ Object (readonly)
Returns the value of attribute template.
3 4 5 |
# File 'lib/greg/exceptions.rb', line 3 def template @template end |