Skip to content
Snippets Groups Projects
Commit 6ee6bee0 authored by Clinton R. Nixon's avatar Clinton R. Nixon Committed by Max Howell
Browse files

Clean up indentation


Signed-off-by: default avatarMax 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.
parent 3f11c4ab
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment