Class: Hash
Overview
:nodoc:
Instance Method Summary collapse
-
#pretty_print(q) ⇒ Object
:nodoc:.
-
#pretty_print_cycle(q) ⇒ Object
:nodoc:.
Instance Method Details
#pretty_print(q) ⇒ Object
:nodoc:
346 347 348 |
# File 'lib/pp.rb', line 346 def pretty_print(q) # :nodoc: q.pp_hash self end |
#pretty_print_cycle(q) ⇒ Object
:nodoc:
350 351 352 |
# File 'lib/pp.rb', line 350 def pretty_print_cycle(q) # :nodoc: q.text(empty? ? '{}' : '{...}') end |