Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/corineus.rb
Instance Method Summary collapse
Instance Method Details
#unindent ⇒ Object
8 9 10 |
# File 'lib/corineus.rb', line 8 def unindent gsub(/^#{scan(/^\s*/).min_by{|l|l.length}}/, "") end |