method

indent!

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: String
indent!(amount, indent_string = nil, indent_empty_lines = false) public

Same as indent, except it indents the receiver in-place.

Returns the indented string, or nil if there was nothing to indent.

Show source
Register or log in to add new notes.