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