Getting rid of pesky 'warning: parenthesize argument(s) for future version'

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Brent Fitzgerald 2010-08-08 05:19:25 -07:00 committed by Adam Vandenberg
parent 353d9561e7
commit eca31da253

View File

@ -39,7 +39,7 @@ class SoftwareSpecification
# Returns a suitable DownloadStrategy class that can be
# used to retreive this software package.
def download_strategy
return detect_download_strategy @url if @using.nil?
return detect_download_strategy(@url) if @using.nil?
# If a class is passed, assume it is a download strategy
return @using if @using.kind_of? Class