Exception: Render::Errors::Definition::NoId

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(definition) ⇒ NoId

Returns a new instance of NoId.



47
48
49
# File 'lib/render/errors.rb', line 47

def initialize(definition)
  self.definition = definition
end

Instance Attribute Details

#definitionObject

Returns the value of attribute definition.



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

def definition
  @definition
end

Instance Method Details

#to_sObject



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

def to_s
  "id keyword must be used to differentiate loaded schemas -- none found in: #{definition}"
end