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