模块 RBS::Prototype::Runtime::Reflection

公共类方法

constants_of(mod, inherit = true) 点击以切换源代码
# File rbs-3.8.0/lib/rbs/prototype/runtime/reflection.rb, line 12
def self.constants_of(mod, inherit = true)
  @constants_of ||= Module.instance_method(:constants)
  @constants_of.bind_call(mod, inherit)
end
object_class(value) 点击以切换源代码
# File rbs-3.8.0/lib/rbs/prototype/runtime/reflection.rb, line 7
def self.object_class(value)
  @object_class ||= Object.instance_method(:class)
  @object_class.bind_call(value)
end