Class: Async::Wrapper::Cancelled::From
- Inherits:
-
Object
- Object
- Async::Wrapper::Cancelled::From
- Defined in:
- lib/async/wrapper.rb
Instance Attribute Summary collapse
-
#backtrace ⇒ Object
readonly
Returns the value of attribute backtrace.
Instance Method Summary collapse
- #cause ⇒ Object
-
#initialize ⇒ From
constructor
A new instance of From.
- #message ⇒ Object
Constructor Details
#initialize ⇒ From
Returns a new instance of From.
30 31 32 |
# File 'lib/async/wrapper.rb', line 30 def initialize @backtrace = caller[5..-1] end |
Instance Attribute Details
#backtrace ⇒ Object (readonly)
Returns the value of attribute backtrace.
34 35 36 |
# File 'lib/async/wrapper.rb', line 34 def backtrace @backtrace end |
Instance Method Details
#cause ⇒ Object
36 37 38 |
# File 'lib/async/wrapper.rb', line 36 def cause nil end |
#message ⇒ Object
40 41 42 |
# File 'lib/async/wrapper.rb', line 40 def "Cancelled" end |