Method: EilamTest::SystemType#==

Defined in:
lib/eilam_test/models/system_type.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



191
192
193
194
195
196
197
198
199
# File 'lib/eilam_test/models/system_type.rb', line 191

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      component_state == o.component_state &&
      name == o.name &&
      short_version == o.short_version &&
      uuid == o.uuid &&
      version == o.version
end