RubyGems.org

dedent

1.0.1

This gem adds a dedent method to strings to strip leading spaces from each line while preserving indentation.

installgem install dedent
Authors

Caleb Spare

15,181 total downloads 1,900 for this version
Owners

2656eba8a324b297f94ed97c9806e15a

Licenses

MIT

Gemfile
gem 'dedent', '~> 1.0.1'
Versions
  1. 1.0.1 May 6, 2014 (7 KB)
  2. 1.0.0 October 16, 2013 (6.5 KB)
  3. 0.0.2 December 8, 2011 (5 KB)
  4. 0.0.1 November 10, 2011 (5 KB)
Ruby Dependency
  1. >= 0
Development Dependencies
  1. minitest >= 0