Method: Forgejo::CreatePullRequestOption#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • Hash code



179
180
181
# File 'lib/forgejo/models/create_pull_request_option.rb', line 179

def hash
  [assignee, assignees, base, body, due_date, head, labels, milestone, title].hash
end