123456789_123456789_123456789_123456789_123456789_

Class: PP::SingleLine

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, PrettyPrint::SingleLine
Instance Chain:
self, PPMethods, PrettyPrint::SingleLine
Inherits: PrettyPrint::SingleLine
  • ::Object
Defined in: lib/pp.rb

Instance Method Summary

PPMethods - Included

#check_inspect_key

Check whether the object_id id is in the current buffer of objects to be pretty printed.

#comma_breakable

A convenience method which is same as follows:

#guard_inspect_key

Yields to a block and preserves the previous set of objects being printed.

#object_address_group

A convenience method, like object_group, but also reformats the Object's object_id.

#object_group

A convenience method which is same as follows:

#pop_inspect_key

Removes an object from the set of objects being pretty printed.

#pp

Adds obj to the pretty printing buffer using Object#pretty_print or Object#pretty_print_cycle.

#pp_hash

A pretty print for a ::Hash.

#pp_object

A present standard failsafe for pretty printing any given ::Object.

#push_inspect_key

Adds the object_id id to the set of objects being pretty printed, so as to not repeat objects.

#seplist

Adds a separated list.