Module: Gemmy::Patches::StringPatch
- Defined in:
- lib/gemmy/patches/string_patch.rb
Overview
String patches
Instance Method Summary collapse
-
#unindent ⇒ Object
reference ‘strip_heredoc’ (provided by active support) by ‘unindent’.
Instance Method Details
#unindent ⇒ Object
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
13 14 15 |
# File 'lib/gemmy/patches/string_patch.rb', line 13 def unindent strip_heredoc end |