module Occi::Helpers::Comparators::Attributes

Public Instance Methods

==(obj) click to toggle source
# File lib/occi4/helpers/comparators/attributes.rb, line 6
def ==(obj)
  return false unless obj && obj.respond_to?(:names)
  self.names == obj.names
end
eql?(obj) click to toggle source
# File lib/occi4/helpers/comparators/attributes.rb, line 11
def eql?(obj)
  self == obj
end
hash() click to toggle source
# File lib/occi4/helpers/comparators/attributes.rb, line 15
def hash
  self.names.hash
end