Class: Hash
Instance Method Summary collapse
Instance Method Details
#pretty_print(q) ⇒ Object
315 316 317 |
# File 'lib/rubysl/prettyprint/pp.rb', line 315 def pretty_print(q) q.pp_hash self end |
#pretty_print_cycle(q) ⇒ Object
319 320 321 |
# File 'lib/rubysl/prettyprint/pp.rb', line 319 def pretty_print_cycle(q) q.text(empty? ? '{}' : '{...}') end |