[rubygems/rubygems] Added comment for Minitest::Mock

https://github.com/rubygems/rubygems/commit/ae44b68d57
This commit is contained in:
Hiroshi SHIBATA 2021-05-11 18:31:47 +09:00
Родитель d33888bf96
Коммит 655727ee1b
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -1557,6 +1557,7 @@ Also, a list:
end if Gem::HAVE_OPENSSL end if Gem::HAVE_OPENSSL
end end
# https://github.com/seattlerb/minitest/blob/master/lib/minitest/mock.rb#L192
class Object class Object
def stub(name, val_or_callable, *block_args) def stub(name, val_or_callable, *block_args)
new_name = "__minitest_stub__#{name}" new_name = "__minitest_stub__#{name}"