Exception: Render::Errors::Definition::NoId
- Inherits:
-
StandardError
- Object
- StandardError
- Render::Errors::Definition::NoId
- Defined in:
- lib/render/errors.rb
Instance Attribute Summary collapse
-
#definition ⇒ Object
Returns the value of attribute definition.
Instance Method Summary collapse
-
#initialize(definition) ⇒ NoId
constructor
A new instance of NoId.
- #to_s ⇒ Object
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
#definition ⇒ Object
Returns the value of attribute definition.
45 46 47 |
# File 'lib/render/errors.rb', line 45 def definition @definition end |
Instance Method Details
#to_s ⇒ Object
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 |