class RBS::UnitTest::Convertibles::BlankSlate
An object that doesnβt have methods excepts __send__ and __id__
Other methods are undefed.
Public Instance Methods
(*Symbol methods) → self
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/unit_test/convertibles.rb, line 13 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
Add Object methods to self