class RBS::UnitTest::Convertibles::BlankSlate
Public Instance Methods
Source
# File bundled-src/rbs-3.10.0/lib/rbs/unit_test/convertibles.rb, line 12 def __with_object_methods(*methods) methods.each do |method| singleton_class = ::Object.instance_method(:singleton_class).bind_call(self) #: Class singleton_class.instance_eval do define_method method, ::Object.instance_method(method) end end self end