method
pretty_print
v2_6_3 -
Show latest stable
- Class:
Gem::Resolver::Conflict
pretty_print(q)public
No documentation available.
# File lib/rubygems/resolver/conflict.rb, line 100
def pretty_print(q) # :nodoc:
q.group 2, '[Dependency conflict: ', ']' do
q.breakable
q.text 'activated '
q.pp @activated
q.breakable
q.text ' dependency '
q.pp @dependency
q.breakable
if @dependency == @failed_dep
q.text ' failed'
else
q.text ' failed dependency '
q.pp @failed_dep
end
end
end