class String

Public Instance Methods

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