Sha256: c540d4e69a9a8ad48c1a8677239fdb1e32326f55a06a36571d4efdc0bb165a15
Contents?: true
Size: 305 Bytes
Versions: 25
Compression:
Stored size: 305 Bytes
Contents
require 'mocha/stubbed_method' module Mocha class AnyInstanceMethod < StubbedMethod private def mock_owner stubbee.any_instance end def stubbee_method(method_name) stubbee.instance_method(method_name) end def original_method_owner stubbee end end end
Version data entries
25 entries across 25 versions & 2 rubygems