mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Unify indentation of access modifiers
These are class method calls, not some special keyword, and should be indented as such (also all standard Ruby indenters do this).
This commit is contained in:
parent
349cdab76f
commit
9db0e68eb6
@ -123,6 +123,7 @@ class CurlDownloadStrategy < AbstractDownloadStrategy
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def chdir
|
||||
entries=Dir['*']
|
||||
case entries.length
|
||||
@ -494,6 +495,7 @@ class CVSDownloadStrategy < AbstractDownloadStrategy
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def split_url(in_url)
|
||||
parts=in_url.sub(%r[^cvs://], '').split(/:/)
|
||||
mod=parts.pop
|
||||
|
@ -172,6 +172,7 @@ class Keg < Pathname
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def resolve_any_conflicts dst
|
||||
# if it isn't a directory then a severe conflict is about to happen. Let
|
||||
# it, and the exception that is generated will message to the user about
|
||||
|
Loading…
x
Reference in New Issue
Block a user