Module: AbortedStream
- Defined in:
- lib/scout/concurrent_stream.rb
Instance Attribute Summary collapse
-
#exception ⇒ Object
Returns the value of attribute exception.
Class Method Summary collapse
Instance Attribute Details
#exception ⇒ Object
Returns the value of attribute exception.
4 5 6 |
# File 'lib/scout/concurrent_stream.rb', line 4 def exception @exception end |
Class Method Details
.setup(obj, exception = nil) ⇒ Object
5 6 7 8 |
# File 'lib/scout/concurrent_stream.rb', line 5 def self.setup(obj, exception = nil) obj.extend AbortedStream obj.exception = exception end |