method
reset_proxied_methods
reset_proxied_methods()
private
Hide source
# File lib/spec/mocks/proxy.rb, line 191 def reset_proxied_methods @proxied_methods.each do |sym| munged_sym = munge(sym) target_metaclass.instance_eval do if method_defined?(munged_sym.to_s) alias_method sym, munged_sym undef_method munged_sym else remove_method sym end end end end