# File lib/chef/mixin/deep_merge.rb, line 211 def self.clear_or_nil(obj) if obj.respond_to?(:clear) obj.clear else obj = nil end obj end