Method: XbimAim::ModelCreate#==

Defined in:
lib/xbim_aim/models/model_create.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



175
176
177
178
179
180
181
182
183
184
# File 'lib/xbim_aim/models/model_create.rb', line 175

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      asset_id == o.asset_id &&
      name == o.name &&
      revision == o.revision &&
      status == o.status &&
      state == o.state &&
      segment_name == o.segment_name
end