Method: Patch::ParentTechnologyType#hash

Defined in:
lib/patch_ruby/models/parent_technology_type.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



118
119
120
# File 'lib/patch_ruby/models/parent_technology_type.rb', line 118

def hash
  [slug, name].hash
end