Allow non-true options to override defaults.

This commit is contained in:
Matt Colyer 2012-05-14 15:18:34 -07:00
parent 30e1ff8e51
commit 0617c5dabb

View File

@ -41,7 +41,7 @@ module Jasmine
@options[:seed] = rand(10000) @options[:seed] = rand(10000)
read_defaults_files read_defaults_files
opts.each { |k, v| @options[k] = v if v } opts.each { |k, v| @options[k] = v }
end end
def process_option(*args) def process_option(*args)