aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_support.rb
diff options
context:
space:
mode:
authorMarkus Reiter2017-10-15 02:28:32 +0200
committerMarkus Reiter2017-10-18 14:39:09 +0200
commit9bee9ca5757d1c5f720787737fed6a534a620d72 (patch)
treeb1eed297d9eb169673d2ed308e5ef3ca3bb09d12 /Library/Homebrew/formula_support.rb
parent270b752f5d9d218bfbed6fe85b6974fa653fb25f (diff)
downloadbrew-9bee9ca5757d1c5f720787737fed6a534a620d72.tar.bz2
Use “squiggly” heredocs.
Diffstat (limited to 'Library/Homebrew/formula_support.rb')
-rw-r--r--Library/Homebrew/formula_support.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index 2c9c19187..53fd61db8 100644
--- a/Library/Homebrew/formula_support.rb
+++ b/Library/Homebrew/formula_support.rb
@@ -33,33 +33,33 @@ class KegOnlyReason
def to_s
return @explanation unless @explanation.empty?
case @reason
- when :versioned_formula then <<-EOS.undent
+ when :versioned_formula then <<~EOS
this is an alternate version of another formula
EOS
- when :provided_by_macos, :provided_by_osx then <<-EOS.undent
+ when :provided_by_macos, :provided_by_osx then <<~EOS
macOS already provides this software and installing another version in
parallel can cause all kinds of trouble
EOS
- when :shadowed_by_macos, :shadowed_by_osx then <<-EOS.undent
+ when :shadowed_by_macos, :shadowed_by_osx then <<~EOS
macOS provides similar software and installing this software in
parallel can cause all kinds of trouble
EOS
- when :provided_pre_mountain_lion then <<-EOS.undent
+ when :provided_pre_mountain_lion then <<~EOS
macOS already provides this software in versions before Mountain Lion
EOS
- when :provided_pre_mavericks then <<-EOS.undent
+ when :provided_pre_mavericks then <<~EOS
macOS already provides this software in versions before Mavericks
EOS
- when :provided_pre_el_capitan then <<-EOS.undent
+ when :provided_pre_el_capitan then <<~EOS
macOS already provides this software in versions before El Capitan
EOS
- when :provided_pre_high_sierra then <<-EOS.undent
+ when :provided_pre_high_sierra then <<~EOS
macOS already provides this software in versions before High Sierra
EOS
- when :provided_until_xcode43 then <<-EOS.undent
+ when :provided_until_xcode43 then <<~EOS
Xcode provides this software prior to version 4.3
EOS
- when :provided_until_xcode5 then <<-EOS.undent
+ when :provided_until_xcode5 then <<~EOS
Xcode provides this software prior to version 5
EOS
else