Exception: DRb::DRbUnknownError

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(unknown) ⇒ DRbUnknownError

Returns a new instance of DRbUnknownError.



6
7
8
9
# File 'lib/opal/drb/drb.rb', line 6

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

Instance Attribute Details

#unknownObject (readonly)

Returns the value of attribute unknown.



10
11
12
# File 'lib/opal/drb/drb.rb', line 10

def unknown
  @unknown
end

Class Method Details

._load(s) ⇒ Object



12
13
14
# File 'lib/opal/drb/drb.rb', line 12

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

Instance Method Details

#_dump(lv) ⇒ Object



16
17
18
# File 'lib/opal/drb/drb.rb', line 16

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