def strip_heredoc(string)
      indent = string.scan(/^[ \t]*(?=\S)/).min
      indent = indent.respond_to?(:size) ? indent.size : 0
      string.gsub(/^[ \t]{#{indent}}/, '')
    end
def strip_heredoc(string)
      indent = string.scan(/^[ \t]*(?=\S)/).min
      indent = indent.respond_to?(:size) ? indent.size : 0
      string.gsub(/^[ \t]{#{indent}}/, '')
    end
[active_support/core_ext/string/strip]