Sha256: 0cc1195f242af42521bc049e4120325236cfd69c34d36b594cfe84d2be843408
Contents?: true
Size: 297 Bytes
Versions: 22
Compression:
Stored size: 297 Bytes
Contents
require 'mocha/stubbed_method' module Mocha class InstanceMethod < StubbedMethod private def mock_owner stubbee end def stubbee_method(method_name) stubbee._method(method_name) end def original_method_owner stubbee.singleton_class end end end
Version data entries
22 entries across 22 versions & 2 rubygems