Class: Hash
Instance Method Summary collapse
Instance Method Details
#pretty_print(q) ⇒ Object
342 343 344 |
# File 'lib/rubysl/prettyprint/pp.rb', line 342 def pretty_print(q) q.pp_hash self end |
#pretty_print_cycle(q) ⇒ Object
346 347 348 |
# File 'lib/rubysl/prettyprint/pp.rb', line 346 def pretty_print_cycle(q) q.text(empty? ? '{}' : '{...}') end |