method
pretty_print
pretty_print(q)
public
Hide source
# File lib/pp.rb, line 377 def pretty_print(q) q.group(1, '#<struct ' + PP.mcall(self, Kernel, :class).name, '>') { q.seplist(PP.mcall(self, Struct, :members), lambda { q.text "," }) {|member| q.breakable q.text member.to_s q.text '=' q.group(1) { q.breakable '' q.pp self[member] } } } end