Remove unnecessary default argument
This method is always called with two arguments.
This commit is contained in:
parent
097d5242c3
commit
2356131e5f
@ -161,7 +161,7 @@ class Version
|
||||
end
|
||||
end
|
||||
|
||||
def self.detect(url, specs={})
|
||||
def self.detect(url, specs)
|
||||
if specs.has_key?(:tag)
|
||||
FromURL.new(specs[:tag][/((?:\d+\.)*\d+)/, 1])
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user