| Class | String |
| In: |
lib/indentation/string_mod.rb
|
| Parent: | Object |
Return an indented copy of this string Arguments:
Default for spaces is 2. Default for other is 1.
If set to a negative value, removes that many of the specified indentation character,
tabs, or spaces from the beginning of the string
Indents this string Arguments:
Default for spaces is 2. Default for other is 1.
If set to a negative value, removes that many of the specified indentation character,
tabs, or spaces from the beginning of the string
Find the least indentation of all lines within this string and remove that amount (if any) Can pass an optional modifier that changes the indentation amount removed