module RBS::Prototype::Runtime::Reflection
def self.constants_of(mod, inherit = true)
def self.constants_of(mod, inherit = true) @constants_of ||= Module.instance_method(:constants) @constants_of.bind_call(mod, inherit) end
def self.object_class(value)
def self.object_class(value) @object_class ||= Object.instance_method(:class) @object_class.bind_call(value) end