Module: DRb::DRbUndumped

Included in:
ExtServ, ExtServManager
Defined in:
lib/drb/drb.rb

Overview

Mixin module making an object undumpable or unmarshallable.

If an object which includes this module is returned by method called over drb, then the object remains in the server space and a reference to the object is returned, rather than the object being marshalled and moved into the client space.

Instance Method Summary collapse

Instance Method Details

#_dump(dummy) ⇒ Object

:nodoc:

Raises:

  • (TypeError)


390
391
392
# File 'lib/drb/drb.rb', line 390

def _dump(dummy)  # :nodoc:
  raise TypeError, 'can\'t dump'
end