Sha256: 0cc1195f242af42521bc049e4120325236cfd69c34d36b594cfe84d2be843408
Contents?: true
Size: 297 Bytes
Versions: 21
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
21 entries across 21 versions & 2 rubygems