Exception: Backports::Ractor::RemoteError
- Defined in:
- lib/backports/ractor/errors.rb
Instance Attribute Summary collapse
-
#ractor ⇒ Object
readonly
Returns the value of attribute ractor.
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ RemoteError
constructor
A new instance of RemoteError.
Constructor Details
#initialize(message = nil) ⇒ RemoteError
Returns a new instance of RemoteError.
14 15 16 17 |
# File 'lib/backports/ractor/errors.rb', line 14 def initialize( = nil) @ractor = Ractor.current super end |
Instance Attribute Details
#ractor ⇒ Object (readonly)
Returns the value of attribute ractor.
12 13 14 |
# File 'lib/backports/ractor/errors.rb', line 12 def ractor @ractor end |