Exception: Render::Errors::Schema::NotFound

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(title) ⇒ NotFound



35
36
37
# File 'lib/render/errors.rb', line 35

def initialize(title)
  self.title = title
end

Instance Attribute Details

#titleObject

Returns the value of attribute title.



33
34
35
# File 'lib/render/errors.rb', line 33

def title
  @title
end

Instance Method Details

#to_sObject



39
40
41
# File 'lib/render/errors.rb', line 39

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