Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • pp.rb

Hash

Public Instance Methods

pretty_print(q) click to toggle source
 
               # File pp.rb, line 350
def pretty_print(q)
  q.pp_hash self
end
            
pretty_print_cycle(q) click to toggle source
 
               # File pp.rb, line 354
def pretty_print_cycle(q)
  q.text(empty? ? '{}' : '{...}')
end