aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/extend/string.rb
diff options
context:
space:
mode:
authorMike McQuaid2018-01-18 15:29:40 +0000
committerGitHub2018-01-18 15:29:40 +0000
commit9201fbde824ad311ea510e22dd045f1573d5ca78 (patch)
tree7097204c30ea7e0aed500cb8455c409d9533b181 /Library/Homebrew/compat/extend/string.rb
parentb17672a2b4946a9e8a4613006e984006d939479a (diff)
parent77f1768108272f2168e22a735bead49fe7045331 (diff)
downloadbrew-9201fbde824ad311ea510e22dd045f1573d5ca78.tar.bz2
Merge pull request #3694 from MikeMcQuaid/more-odisabled
Disable and add more deprecations.
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