Method: Forgejo::NodeInfoUsage#hash

Defined in:
lib/forgejo/models/node_info_usage.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



121
122
123
# File 'lib/forgejo/models/node_info_usage.rb', line 121

def hash
  [local_comments, local_posts, users].hash
end