ARGV.spec should be private
This commit is contained in:
parent
8e3e0be6d1
commit
7a5e4f5cca
@ -165,6 +165,8 @@ module HomebrewArgvExtension
|
|||||||
value 'env'
|
value 'env'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
def spec
|
def spec
|
||||||
if include?("--HEAD")
|
if include?("--HEAD")
|
||||||
:head
|
:head
|
||||||
@ -175,8 +177,6 @@ module HomebrewArgvExtension
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
def downcased_unique_named
|
def downcased_unique_named
|
||||||
# Only lowercase names, not paths or URLs
|
# Only lowercase names, not paths or URLs
|
||||||
@downcased_unique_named ||= named.map do |arg|
|
@downcased_unique_named ||= named.map do |arg|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user