method

pretty_print

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: VendorSet
pretty_print(q) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/resolver/vendor_set.rb, line 72
  def pretty_print q # :nodoc:
    q.group 2, '[VendorSet', ']' do
      next if @directories.empty?
      q.breakable

      dirs = @directories.map do |spec, directory|
        "#{spec.full_name}: #{directory}"
      end

      q.seplist dirs do |dir|
        q.text dir
      end
    end
  end
Register or log in to add new notes.