From ee17eebbc6506f89efd063a78dbea1e80ab6fd9d Mon Sep 17 00:00:00 2001 From: Gerry Date: Thu, 24 Nov 2016 13:50:36 +1100 Subject: [PATCH] Update to a real version of the link with mirror The previous URL was redirecting to a random dodgy site which try to trick users into thinking they have a virus. Not great. --- lib/awesome_print/formatters/base_formatter.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/awesome_print/formatters/base_formatter.rb b/lib/awesome_print/formatters/base_formatter.rb index 4483a4b..e2b6250 100644 --- a/lib/awesome_print/formatters/base_formatter.rb +++ b/lib/awesome_print/formatters/base_formatter.rb @@ -65,7 +65,8 @@ module AwesomePrint def method_tuple(method) if method.respond_to?(:parameters) # Ruby 1.9.2+ - # See http://ruby.runpaint.org/methods#method-objects-parameters + # See http://readruby.chengguangnan.com/methods#method-objects-parameters + # (mirror: http://archive.is/XguCA#selection-3381.1-3381.11) args = method.parameters.inject([]) do |arr, (type, name)| name ||= (type == :block ? 'block' : "arg#{arr.size + 1}") arr << case type