Rephrase conditional

This commit is contained in:
Jack Nagel 2013-09-16 16:12:25 -05:00
parent 625d61fe5d
commit 7c0f474d26

View File

@ -121,7 +121,7 @@ class FormulaCreator
class #{Formula.class_s name} < Formula
homepage ''
url '#{url}'
<% if not version.nil? and not version.detected_from_url? %>
<% unless version.nil? or version.detected_from_url? %>
version '#{version}'
<% end %>
sha1 '#{sha1}'