Exception: Rigit::TemplateError
- Inherits:
-
StandardError
- Object
- StandardError
- Rigit::TemplateError
- Defined in:
- lib/rigit/errors.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Instance Method Summary collapse
-
#initialize(file, message = '') ⇒ TemplateError
constructor
A new instance of TemplateError.
Constructor Details
#initialize(file, message = '') ⇒ TemplateError
Returns a new instance of TemplateError.
9 10 11 12 |
# File 'lib/rigit/errors.rb', line 9 def initialize(file, = '') @file = file super end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
7 8 9 |
# File 'lib/rigit/errors.rb', line 7 def file @file end |