Method: XbimComms::View#hash

Defined in:
lib/xbim_comms/models/view.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



114
115
116
# File 'lib/xbim_comms/models/view.rb', line 114

def hash
  [viewpoint, file].hash
end