method
pretty_print
v2_2_9 -
Show latest stable
- Class:
Gem::Resolver::IndexSpecification
pretty_print(q)public
No documentation available.
# File lib/rubygems/resolver/index_specification.rb, line 40
def pretty_print q # :nodoc:
q.group 2, '[Index specification', ']' do
q.breakable
q.text full_name
unless Gem::Platform::RUBY == @platform then
q.breakable
q.text @platform.to_s
end
q.breakable
q.text 'source '
q.pp @source
end
end