module DRb
def self.const_missing(name) # :nodoc:
def self.const_missing(name) # :nodoc: case name when :WeakIdConv warn("DRb::WeakIdConv is deprecated. " + "You can use the DRb::DRbIdConv. " + "You don't need to use this.", uplevel: 1) const_set(:WeakIdConv, DRbIdConv) singleton_class.remove_method(:const_missing) DRbIdConv else super end end