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