0 replies on 1 page.
Here’s Derby:
require 'drb/drb' require 'yaml' module DRb Marshal = ::YAML end
I’m still looking for a way to readdress the Derby module so it’ll work under its own namespace. I mean, imagine this:
Derby
module Derby < DRb Marshal = ::YAML end
I can’t seem to get the methods to rest under a new namespace, though, even with this sort of trickery:
module Derby include DRb DRb.singleton_methods.each { |m| module_function m } Marshal = ::YAML end
Which is because, for instance, Derby::DRbServer still calls itself DRb::DRbServer.
Derby::DRbServer
DRb::DRbServer
Read: Derby: DRb Over YAML