diff options
author | David Gurtner <aldavud@crimson.ch> | 2017-02-20 18:50:54 +0100 |
---|---|---|
committer | David Gurtner <aldavud@crimson.ch> | 2017-02-20 19:03:08 +0100 |
commit | f8313f755c56b2cf614605588f8164c510b18956 (patch) | |
tree | 13d6ede604c0debe83ee237fb861ede78dec76e6 /lib | |
parent | 47969551159a81cd1a050c3b345892aec0bf7d96 (diff) |
Replace default to be more robust
Specifying undef as the fallback only works because the merge
function specifically checks for this:
next if arg.is_a? String and arg.empty? # empty string is synonym for puppet's undef
But the empty Hash would be a much more robust default.
Change-Id: I7e302c00ef030d75998e352d88b3ccc60b194ab7
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions