module Gemmy::Patches::StringPatch::InstanceMethods::Unindent

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

Public Instance Methods

unindent() click to toggle source
# File lib/gemmy/patches/string_patch.rb, line 308
def unindent
  strip_heredoc
end