class Marshal::BlackHole

Attributes

name[R]
__content__[R]

Public Class Methods

_load(*args) click to toggle source
# File lib/utilrb/marshal/load_with_missing_constants.rb, line 23
def self._load(*args)
    hole = BlackHole.new
    hole.instance_variable_set(:@__content__, args)
end
method_missing(*args, **options) click to toggle source
# File lib/utilrb/marshal/load_with_missing_constants.rb, line 28
def self.method_missing(*args, **options)
    BlackHole.new
end
new(*args) click to toggle source
# File lib/utilrb/marshal/load_with_missing_constants.rb, line 7
def initialize(*args)
end

Public Instance Methods

eql?(obj) click to toggle source
# File lib/utilrb/marshal/load_with_missing_constants.rb, line 14
def eql?(obj)
    equal?(obj)
end
hash() click to toggle source
# File lib/utilrb/marshal/load_with_missing_constants.rb, line 10
def hash
    __id__
end
method_missing(*args) click to toggle source
# File lib/utilrb/marshal/load_with_missing_constants.rb, line 19
def method_missing(*args)
    ::Kernel.puts args.inspect
    ::Kernel.puts ::Kernel.caller
end