Exception: Render::Errors::DefinitionNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- Render::Errors::DefinitionNotFound
- Defined in:
- lib/render/errors.rb
Instance Attribute Summary collapse
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title) ⇒ DefinitionNotFound
constructor
A new instance of DefinitionNotFound.
- #to_s ⇒ Object
Constructor Details
#initialize(title) ⇒ DefinitionNotFound
Returns a new instance of DefinitionNotFound.
46 47 48 |
# File 'lib/render/errors.rb', line 46 def initialize(title) self.title = title end |
Instance Attribute Details
#title ⇒ Object
Returns the value of attribute title.
44 45 46 |
# File 'lib/render/errors.rb', line 44 def title @title end |
Instance Method Details
#to_s ⇒ Object
50 51 52 |
# File 'lib/render/errors.rb', line 50 def to_s "Schema with title #{title} is not loaded" end |