Exception: DRb::DRbUnknownError
- Defined in:
- lib/drb/drb.rb
Overview
An exception wrapping a DRb::DRbUnknown object
Instance Attribute Summary collapse
-
#unknown ⇒ Object
readonly
Get the wrapped DRb::DRbUnknown object.
Class Method Summary collapse
-
._load(s) ⇒ Object
:nodoc:.
Instance Method Summary collapse
-
#_dump(lv) ⇒ Object
:nodoc:.
-
#initialize(unknown) ⇒ DRbUnknownError
constructor
Create a new DRbUnknownError for the DRb::DRbUnknown object
unknown
.
Constructor Details
#initialize(unknown) ⇒ DRbUnknownError
Create a new DRbUnknownError for the DRb::DRbUnknown object unknown
412 413 414 415 |
# File 'lib/drb/drb.rb', line 412 def initialize(unknown) @unknown = unknown super(unknown.name) end |
Instance Attribute Details
#unknown ⇒ Object (readonly)
Get the wrapped DRb::DRbUnknown object.
418 419 420 |
# File 'lib/drb/drb.rb', line 418 def unknown @unknown end |
Class Method Details
._load(s) ⇒ Object
:nodoc:
420 421 422 |
# File 'lib/drb/drb.rb', line 420 def self._load(s) # :nodoc: Marshal::load(s) end |
Instance Method Details
#_dump(lv) ⇒ Object
:nodoc:
424 425 426 |
# File 'lib/drb/drb.rb', line 424 def _dump(lv) # :nodoc: Marshal::dump(@unknown) end |