Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/swiftly/app_module.rb
Instance Method Summary collapse
-
#unindent ⇒ Object
Unindent heredocs so they look better.
Instance Method Details
#unindent ⇒ Object
Unindent heredocs so they look better
8 9 10 11 12 |
# File 'lib/swiftly/app_module.rb', line 8 def unindent gsub(/^[\t|\s]*|[\t]*/, "") end |