module DeepCover::Tools::StripHeredoc

Constants

IMPLEMENTATION

In-place implementation copied from active-support.

Public Instance Methods

strip_heredoc(string) click to toggle source

Same as strip_heredoc from active-support github.com/rails/rails/blob/16574409f813e2197f88e4a06b527618d64d9ff0/activesupport/lib/active_support/core_ext/string/strip.rb#L22

# File lib/deep_cover/tools/strip_heredoc.rb, line 14
def strip_heredoc(string)
  string.instance_exec(&IMPLEMENTATION)
end