class String

Public Instance Methods

unindent() click to toggle source
# File lib/core/string.rb, line 2
def unindent
  gsub(/^#{self[/\A\s*/]}/, '')
end