Class: Hash

Inherits:
Object show all
Defined in:
lib/pp.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) pretty_print(q)



350
351
352
# File 'lib/pp.rb', line 350

def pretty_print(q)
  q.pp_hash self
end

- (Object) pretty_print_cycle(q)



354
355
356
# File 'lib/pp.rb', line 354

def pretty_print_cycle(q)
  q.text(empty? ? '{}' : '{...}')
end