Class

PrettyPrint::SingleLine

Inheritance
< Object

Methods

Class

Visibility Signature
public new (output, maxwidth=nil, newline=nil)

Instance

Visibility Signature
public breakable (sep=' ', width=nil)
public first? ()
public flush ()
public group (indent=nil, open_obj='', close_obj='', open_width=nil, close_width=nil) {|| ...}
public nest (indent) {|| ...}
public text (obj, width=nil)

Class Method Detail

new(output, maxwidth=nil, newline=nil)

Instance Method Detail

breakable(sep=' ', width=nil)

first?()

flush()

group(indent=nil, open_obj='', close_obj='', open_width=nil, close_width=nil) {|| ...}

nest(indent) {|| ...}

text(obj, width=nil)