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