aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac
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/os/mac
parent270b752f5d9d218bfbed6fe85b6974fa653fb25f (diff)
downloadbrew-9bee9ca5757d1c5f720787737fed6a534a620d72.tar.bz2
Use “squiggly” heredocs.
Diffstat (limited to 'Library/Homebrew/os/mac')
-rw-r--r--Library/Homebrew/os/mac/keg.rb4
-rw-r--r--Library/Homebrew/os/mac/xcode.rb8
2 files changed, 6 insertions, 6 deletions
diff --git a/Library/Homebrew/os/mac/keg.rb b/Library/Homebrew/os/mac/keg.rb
index 6caadb1d7..6f2d65fb4 100644
--- a/Library/Homebrew/os/mac/keg.rb
+++ b/Library/Homebrew/os/mac/keg.rb
@@ -5,7 +5,7 @@ class Keg
puts "Changing dylib ID of #{file}\n from #{file.dylib_id}\n to #{id}" if ARGV.debug?
MachO::Tools.change_dylib_id(file, id, strict: false)
rescue MachO::MachOError
- onoe <<-EOS.undent
+ onoe <<~EOS
Failed changing dylib ID of #{file}
from #{file.dylib_id}
to #{id}
@@ -19,7 +19,7 @@ class Keg
puts "Changing install name in #{file}\n from #{old}\n to #{new}" if ARGV.debug?
MachO::Tools.change_install_name(file, old, new, strict: false)
rescue MachO::MachOError
- onoe <<-EOS.undent
+ onoe <<~EOS
Failed changing install name in #{file}
from #{old}
to #{new}
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index 5071aafcf..83924a2be 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -86,11 +86,11 @@ module OS
def update_instructions
if MacOS.version >= "10.9" && !OS::Mac.prerelease?
- <<-EOS.undent
+ <<~EOS
Xcode can be updated from the App Store.
EOS
else
- <<-EOS.undent
+ <<~EOS
Xcode can be updated from
https://developer.apple.com/download/more/
EOS
@@ -199,11 +199,11 @@ module OS
def update_instructions
if MacOS.version >= "10.9"
- <<-EOS.undent
+ <<~EOS
Update them from Software Update in the App Store.
EOS
elsif MacOS.version == "10.8" || MacOS.version == "10.7"
- <<-EOS.undent
+ <<~EOS
The standalone package can be obtained from
https://developer.apple.com/download/more/
or it can be installed via Xcode's preferences.