lib/rspec/mocks/instance_method_stasher.rb in rspec-mocks-3.3.2 vs lib/rspec/mocks/instance_method_stasher.rb in rspec-mocks-3.4.0
- old
+ new
@@ -29,10 +29,9 @@
# @private
def stashed_method_name
"obfuscated_by_rspec_mocks__#{@method}"
end
- private :stashed_method_name
# @private
def restore
return unless @method_is_stashed