Exception: StrokeDB::SlotNotFoundError
- Defined in:
- lib/document/document.rb
Overview
Raised on unexisting document access.
Example:
document.slot_that_does_not_exist_ever
Instance Attribute Summary collapse
-
#slotname ⇒ Object
readonly
Returns the value of attribute slotname.
Instance Method Summary collapse
-
#initialize(slotname) ⇒ SlotNotFoundError
constructor
A new instance of SlotNotFoundError.
- #inspect ⇒ Object
- #message ⇒ Object
Constructor Details
#initialize(slotname) ⇒ SlotNotFoundError
Returns a new instance of SlotNotFoundError.
17 18 19 |
# File 'lib/document/document.rb', line 17 def initialize(slotname) @slotname = slotname end |
Instance Attribute Details
#slotname ⇒ Object (readonly)
Returns the value of attribute slotname.
15 16 17 |
# File 'lib/document/document.rb', line 15 def slotname @slotname end |