Exception: StrokeDB::SlotNotFoundError
- Defined in:
- lib/strokedb/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.
25 26 27 |
# File 'lib/strokedb/document.rb', line 25 def initialize(slotname) @slotname = slotname end |
Instance Attribute Details
#slotname ⇒ Object (readonly)
Returns the value of attribute slotname.
23 24 25 |
# File 'lib/strokedb/document.rb', line 23 def slotname @slotname end |