dev 1.0.111 → 1.0.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/dev/Project.rb +4 -2
- metadata +1 -1
data/lib/dev/Project.rb
CHANGED
@@ -8,7 +8,7 @@ class Project < Hash
|
|
8
8
|
|
9
9
|
def initialize(hash,init_defaults=true)
|
10
10
|
puts_debug "initialize, copying hash values"
|
11
|
-
hash.each { |name,value| self[name]=value }
|
11
|
+
hash.each { |name,value| self[name]=value } if !hash.nil?
|
12
12
|
update_default_values if init_defaults
|
13
13
|
end
|
14
14
|
|
@@ -480,4 +480,6 @@ class Project < Hash
|
|
480
480
|
results
|
481
481
|
end
|
482
482
|
end
|
483
|
-
end # module Dev
|
483
|
+
end # module Dev
|
484
|
+
|
485
|
+
PROJECT=Dev::Project.new(nil,true)
|