Method: Falcon::ClientCost#hash

Defined in:
lib/crimson-falcon/models/client_cost.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



144
145
146
# File 'lib/crimson-falcon/models/client_cost.rb', line 144

def hash
  [live_cost, query_count, static_cost].hash
end