method

pretty_print

ruby latest stable - Class: Gem::FakeFetcher
pretty_print(q)
public

No documentation available.

# File lib/rubygems/test_utilities.rb, line 107
  def pretty_print q # :nodoc:
    q.group 2, '[FakeFetcher', ']' do
      q.breakable
      q.text 'URIs:'

      q.breakable
      q.pp @data.keys

      unless @api_endpoints.empty? then
        q.breakable
        q.text 'API endpoints:'

        q.breakable
        q.pp @api_endpoints.keys
      end
    end
  end