Exception: Cod::WriteOnlyChannel
- Inherits:
-
StandardError
- Object
- StandardError
- Cod::WriteOnlyChannel
- Defined in:
- lib/cod.rb
Overview
Indicates that the given channel is write only. This gets raised on operations like #put.
Instance Method Summary collapse
-
#initialize ⇒ WriteOnlyChannel
constructor
A new instance of WriteOnlyChannel.
Constructor Details
#initialize ⇒ WriteOnlyChannel
Returns a new instance of WriteOnlyChannel.
163 164 165 |
# File 'lib/cod.rb', line 163 def initialize super("This channel is write only, attempted read operation.") end |