| Class | Array |
| In: |
lib/indentation/array_mod.rb
|
| Parent: | Object |
Appends a given separator(s) to all but the last element in an array of Strings or if performed on an array of arrays, appends the separator element to the end of each array except the last
Return an indented array of strings (or an array of other arrays containing strings) 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
Apply indentation to this array 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 elements and remove that amount (if any) Can pass an optional modifier that changes the indentation amount removed