Remove unnecessary default argument

This method is always called with two arguments.
This commit is contained in:
Jack Nagel 2015-03-14 01:58:17 -04:00
parent 097d5242c3
commit 2356131e5f

View File

@ -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