Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/opsworks.rb

Instance Method Summary collapse

Instance Method Details

#unindentObject



8
9
10
# File 'lib/opsworks.rb', line 8

def unindent
  gsub(/^#{self[/\A\s*/]}/, '')
end