module Occi::Helpers::Comparators::Entities
Public Instance Methods
==(obj)
click to toggle source
# File lib/occi4/helpers/comparators/entities.rb, line 6 def ==(obj) return false unless obj && obj.respond_to?(:to_a) self.to_a == obj.to_a end
eql?(obj)
click to toggle source
# File lib/occi4/helpers/comparators/entities.rb, line 11 def eql?(obj) self == obj end
hash()
click to toggle source
# File lib/occi4/helpers/comparators/entities.rb, line 15 def hash self.to_a.hash end