package util
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- util
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
case class
Indenter
(context: StringContext) extends Product with Serializable
An indentation preserving string context.
An indentation preserving string context. Standard string interpolation does not preserve indentation; s" $x" will indent only the first line of x and not subsequent lines. Indenters apply the same indentation to all lines of x; i" $x" will indent all lines of x by 2.
- context
String context.
- See also
https://stackoverflow.com/a/11426477/1447029