Method: WordsRubySdk::OfficeMathObjectResponse#==

Defined in:
lib/words_ruby_sdk/models/office_math_object_response.rb

#==(other) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



104
105
106
107
108
109
110
# File 'lib/words_ruby_sdk/models/office_math_object_response.rb', line 104

def ==(other)
  return true if self.equal?(other)
  self.class == other.class &&
      code == other.code &&
      status == other.status &&
      office_math_object == other.office_math_object
end