class

PrettyPrint::Group

ruby latest stable - Superclass: Object

The Group class is used for making indentation easier.

While this class does neither the breaking into newlines nor indentation, it is used in a stack (as well as a queue) within PrettyPrint, to group objects.

For information on using groups, see PrettyPrint#group

This class is intended for internal use of the PrettyPrint buffers.

Attributes

[R]breakables
[R]depth

Files

  • lib/prettyprint.rb