Method: Gem::Dependency#pretty_print

Defined in:
lib/rubygems/dependency.rb

#pretty_print(q) ⇒ Object

:nodoc:



98
99
100
101
102
103
104
105
106
107
108
109
110
111
# File 'lib/rubygems/dependency.rb', line 98

def pretty_print(q) # :nodoc:
  q.group 1, "Gem::Dependency.new(", ")" do
    q.pp name
    q.text ","
    q.breakable

    q.pp requirement

    q.text ","
    q.breakable

    q.pp type
  end
end