Exception: DRb::DRbUnknownError

Inherits:
DRbError
  • Object
show all
Defined in:
lib/drb/drb.rb

Overview

An exception wrapping a DRb::DRbUnknown object

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(unknown) ⇒ DRbUnknownError

Create a new DRbUnknownError for the DRb::DRbUnknown object unknown



414
415
416
417
# File 'lib/drb/drb.rb', line 414

def initialize(unknown)
  @unknown = unknown
  super(unknown.name)
end

Instance Attribute Details

#unknownObject (readonly)

Get the wrapped DRb::DRbUnknown object.



420
421
422
# File 'lib/drb/drb.rb', line 420

def unknown
  @unknown
end

Class Method Details

._load(s) ⇒ Object

:nodoc:



422
423
424
# File 'lib/drb/drb.rb', line 422

def self._load(s)  # :nodoc:
  Marshal::load(s)
end

Instance Method Details

#_dump(lv) ⇒ Object

:nodoc:



426
427
428
# File 'lib/drb/drb.rb', line 426

def _dump(lv) # :nodoc:
  Marshal::dump(@unknown)
end