class String

Public Instance Methods

indent(amount) click to toggle source
# File lib/core_ext/string.rb, line 4
def indent(amount)
  gsub(/^/, " " * amount)
end