Default description to the empty string in top-level option DSL

This commit is contained in:
Jack Nagel 2014-08-08 01:34:45 -05:00
parent af804f7475
commit 392407c5f1

View File

@ -661,7 +661,7 @@ class Formula
specs.each { |spec| spec.depends_on(dep) } specs.each { |spec| spec.depends_on(dep) }
end end
def option name, description=nil def option name, description=""
specs.each { |spec| spec.option(name, description) } specs.each { |spec| spec.option(name, description) }
end end