Exception: Render::Errors::DefinitionNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/render/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#titleObject

Returns the value of attribute title.



44
45
46
# File 'lib/render/errors.rb', line 44

def title
  @title
end

Instance Method Details

#to_sObject



50
51
52
# File 'lib/render/errors.rb', line 50

def to_s
  "Schema with title #{title} is not loaded"
end