Method: HappyCo::V1StringArray#==

Defined in:
lib/happyco_json/models/v1_string_array.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



77
78
79
80
81
# File 'lib/happyco_json/models/v1_string_array.rb', line 77

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      values == o.values
end