# File lib/gh/pagination.rb, line 52 def modify_response(response) return response unless response.respond_to? :to_ary and response.headers['link'] =~ /<([^>]+)>;\s*rel=\"next\"/ Paginated.new(response, $1, self) end