lib/origen/parameters/set.rb in origen-0.42.0 vs lib/origen/parameters/set.rb in origen-0.42.1
- old
+ new
@@ -58,13 +58,13 @@
end
else
if args.length != 0
super
else
- val = self[method]
- if !val
+ if !key?(method)
super
else
+ val = self[method]
if val.is_a?(Set)
val
else
if live?
Live.new(owner: owner, path: path, name: method)