Module: Gemmy::Patches::StringPatch::InstanceMethods::Unindent
- Defined in:
- lib/gemmy/patches/string_patch.rb
Overview
reference ‘strip_heredoc’ (provided by active support) by ‘unindent’
this takes an indented heredoc and treats it as if the first line is not indented.
Instead of using alias, a method is defined here to enable modular patches
Instance Method Summary collapse
Instance Method Details
#unindent ⇒ Object
308 309 310 |
# File 'lib/gemmy/patches/string_patch.rb', line 308 def unindent strip_heredoc end |