W3cubDocs

/Ruby 2.4

class DRb::DRbUnknownError

Parent:
DRb::DRbError

An exception wrapping a DRb::DRbUnknown object

Attributes

unknown[R]

Get the wrapped DRb::DRbUnknown object.

Public Class Methods

new(unknown) Show source

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

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

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.