diff options
| author | Clinton R. Nixon | 2009-09-06 15:17:46 -0400 |
|---|---|---|
| committer | Max Howell | 2009-09-14 20:33:46 +0100 |
| commit | f1d81cdb484e9b7fc8f762e858191e6f554814f8 (patch) | |
| tree | 1be83ae19e0e3b1e6c91503820e8b1206cf369c6 /Library | |
| parent | da21aeaab88dbab5e68074b2f5052598aafb8662 (diff) | |
| download | homebrew-f1d81cdb484e9b7fc8f762e858191e6f554814f8.tar.bz2 | |
Clean up indentation
Signed-off-by: Max Howell <max@methylblue.com>
I didn't commit it all, apologies. But I just can't read the sections nearly as easily if you indent private and protected. If it's a Ruby convention it frankly seems at odds with the rest of Ruby spacing conventions.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 79d325ec5..39a0f78ba 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -97,11 +97,11 @@ class Formula # reimplement if we don't autodetect the download strategy you require def download_strategy case url - when %r[^svn://] then SubversionDownloadStrategy - when %r[^git://] then GitDownloadStrategy - when %r[^http://(.+?\.)?googlecode\.com/svn] then SubversionDownloadStrategy - when %r[^http://svn.apache.org/repos/] then SubversionDownloadStrategy - else HttpDownloadStrategy + when %r[^svn://] then SubversionDownloadStrategy + when %r[^git://] then GitDownloadStrategy + when %r[^http://(.+?\.)?googlecode\.com/svn] then SubversionDownloadStrategy + when %r[^http://svn.apache.org/repos/] then SubversionDownloadStrategy + else HttpDownloadStrategy end end # tell the user about any caveats regarding this package |
