Exception: CouchShell::RingBuffer::UninitializedAccess
- Inherits:
-
StandardError
- Object
- StandardError
- CouchShell::RingBuffer::UninitializedAccess
- Defined in:
- lib/couch-shell/ring_buffer.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
Returns the value of attribute index.
Instance Method Summary collapse
-
#initialize(index) ⇒ UninitializedAccess
constructor
A new instance of UninitializedAccess.
- #message ⇒ Object
Constructor Details
#initialize(index) ⇒ UninitializedAccess
Returns a new instance of UninitializedAccess.
12 13 14 |
# File 'lib/couch-shell/ring_buffer.rb', line 12 def initialize(index) @index = index end |
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index.
10 11 12 |
# File 'lib/couch-shell/ring_buffer.rb', line 10 def index @index end |
Instance Method Details
#message ⇒ Object
16 17 18 |
# File 'lib/couch-shell/ring_buffer.rb', line 16 def "uninitalized RingBuffer access at index #@index" end |