# File lib/excon.rb, line 52 def mock=(new_mock) puts("Excon#mock is deprecated, pass Excon.defaults[:mock]= instead (#{caller.first})") self.defaults[:mock] = new_mock end