From 9bee9ca5757d1c5f720787737fed6a534a620d72 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sun, 15 Oct 2017 02:28:32 +0200 Subject: Use “squiggly” heredocs. --- Library/Homebrew/formula_support.rb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Library/Homebrew/formula_support.rb') 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 -- cgit v1.2.3