Ruby 2.4

DRb::DRbUnknownError

class DRb::DRbUnknownError

Parent:DRb::DRbError

包装DRb :: DRbUnknown对象的异常

属性

unknownR

获取包装的DRb :: DRbUnknown对象。

Public Class Methods

new(unknown)显示源

为DRb :: DRbUnknown对象创建一个新的DRbUnknownError unknown

调用超类方法Exception.new

# File lib/drb/drb.rb, line 413 def initialize(unknown) @unknown = unknown super(unknown.name) end