Method: Chef::DataBagItem#==
- Defined in:
- lib/chef/data_bag_item.rb
#==(other) ⇒ Object
196 197 198 199 200 201 |
# File 'lib/chef/data_bag_item.rb', line 196 def ==(other) other.respond_to?(:to_h) && other.respond_to?(:data_bag) && (other.to_h == to_h) && (other.data_bag.to_s == data_bag.to_s) end |