SoftwareSpec: initialize @mirrors

Since methods were being called on it without verifying its type.
This commit is contained in:
Misty De Meo 2012-07-05 13:11:44 -05:00
parent a38e2284ea
commit 90b2f1f4ba

View File

@ -7,6 +7,7 @@ class SoftwareSpec
def initialize url=nil, version=nil
@url = url
@version = version
@mirrors = []
end
# Was the version defined in the DSL, or detected from the URL?