Method: Forgejo::CreatePullRequestOption#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • to be compared



157
158
159
160
161
162
163
164
165
166
167
168
169
# File 'lib/forgejo/models/create_pull_request_option.rb', line 157

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      assignee == o.assignee &&
      assignees == o.assignees &&
      base == o.base &&
      body == o.body &&
      due_date == o.due_date &&
      head == o.head &&
      labels == o.labels &&
      milestone == o.milestone &&
      title == o.title
end