aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/extend/string.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/compat/extend/string.rb')
-rw-r--r--Library/Homebrew/compat/extend/string.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/compat/extend/string.rb b/Library/Homebrew/compat/extend/string.rb
index 6069a6bec..9d1f66557 100644
--- a/Library/Homebrew/compat/extend/string.rb
+++ b/Library/Homebrew/compat/extend/string.rb
@@ -1,5 +1,6 @@
class String
def undent
+ odeprecated "<<-EOS.undent", "<<~EOS"
gsub(/^[ \t]{#{(slice(/^[ \t]+/) || '').length}}/, "")
end
alias unindent undent