method
pretty_print
v2_6_3 -
Show latest stable
- Class:
Gem::Source
pretty_print(q)public
No documentation available.
# File lib/rubygems/source.rb, line 209
def pretty_print(q) # :nodoc:
q.group 2, '[Remote:', ']' do
q.breakable
q.text @uri.to_s
if api = uri
q.breakable
q.text 'API URI: '
q.text api.to_s
end
end
end