aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2010-03-09 02:10:40 +0000
committerAdam Vandenberg2010-07-18 10:44:44 -0700
commit53c72ccbaf970bf3940902e27f480536c41ae309 (patch)
treef5a28c2fc1ccdaf97caf43cbad95fc3b41e6e349 /Library
parent3726f8d5a932d7c471767bd06a31f998e19f6e19 (diff)
downloadhomebrew-53c72ccbaf970bf3940902e27f480536c41ae309.tar.bz2
Some String.dedent action
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb24
1 files changed, 12 insertions, 12 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 00bef0023..0a22ab4f0 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -22,25 +22,25 @@ class FormulaInstaller
def pyerr dep
brew_pip = ' brew install pip &&' unless Formula.factory('pip').installed?
- <<-EOS
-Unsatisfied dependency, #{dep}
-Homebrew does not provide formula for Python dependencies, pip does:
+ <<-EOS.dedent
+ Unsatisfied dependency, #{dep}
+ Homebrew does not provide formula for Python dependencies, pip does:
- #{brew_pip} pip install #{dep}
+ #{brew_pip} pip install #{dep}
EOS
end
- def plerr dep; <<-EOS
-Unsatisfied dependency, #{dep}
-Homebrew does not provide formula for Perl dependencies, cpan does:
+ def plerr dep; <<-EOS.dedent
+ Unsatisfied dependency, #{dep}
+ Homebrew does not provide formula for Perl dependencies, cpan does:
- cpan -i #{dep}
+ cpan -i #{dep}
EOS
end
- def rberr dep; <<-EOS
-Unsatisfied dependency "#{dep}"
-Homebrew does not provide formulae for Ruby dependencies, rubygems does:
+ def rberr dep; <<-EOS.dedent
+ Unsatisfied dependency "#{dep}"
+ Homebrew does not provide formulae for Ruby dependencies, rubygems does:
- gem install #{dep}
+ gem install #{dep}
EOS
end
def jrberr dep; <<-EOS