class String

Public Instance Methods

unindent() click to toggle source
# File lib/vagrant-libvirt/util/unindent.rb, line 3
def unindent
  gsub(/^#{scan(/^\s*/).min_by{|l|l.length}}/, "")
end