123456789_123456789_123456789_123456789_123456789_

Exception: DRb::DRbUnknownError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, DRbError, RuntimeError
Instance Chain:
self, DRbError, RuntimeError
Inherits: DRb::DRbError
Defined in: lib/drb/drb.rb

Overview

An exception wrapping a DRbUnknown object

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(unknown) ⇒ DRbUnknownError

Create a new DRbUnknownError for the DRbUnknown object #unknown

[ GitHub ]

  
# File 'lib/drb/drb.rb', line 412

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

Class Method Details

._load(s)

This method is for internal use only.
[ GitHub ]

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

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

Instance Attribute Details

#unknown (readonly)

Get the wrapped DRbUnknown object.

[ GitHub ]

  
# File 'lib/drb/drb.rb', line 418

attr_reader :unknown

Instance Method Details

#_dump(lv)

This method is for internal use only.
[ GitHub ]

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

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