Sha256: 28bddd68f9762620bef5f049f2267a210755e5154a9859ab4e60cb408b35af65
Contents?: true
Size: 384 Bytes
Versions: 11
Compression:
Stored size: 384 Bytes
Contents
require 'mocha/ruby_version' require 'mocha/stubbed_method' module Mocha class AnyInstanceMethod < StubbedMethod private def mock_owner stubbee.any_instance end def method_body(method) method end def stubbee_method(method_name) stubbee.instance_method(method_name) end def original_method_owner stubbee end end end
Version data entries
11 entries across 11 versions & 1 rubygems