Sha256: 5379015c83c391e01ce785c3e12e75e3b1fced69736f8cf4a258c3c764582977

Contents?: true

Size: 203 Bytes

Versions: 9

Compression:

Stored size: 203 Bytes

Contents

# frozen_string_literal: true

class HashPerson < HashModel
  attr_accessor :name, :age

  def ==(other)
    return unless other.class == self.class

    other.name == name && other.age == age
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sinclair-2.1.1 spec/support/models/hash_person.rb
sinclair-2.1.0 spec/support/models/hash_person.rb
sinclair-2.0.1 spec/support/models/hash_person.rb
sinclair-2.0.0 spec/support/models/hash_person.rb
sinclair-1.16.3 spec/support/models/hash_person.rb
sinclair-1.16.2 spec/support/models/hash_person.rb
sinclair-1.16.1 spec/support/models/hash_person.rb
sinclair-1.16.0 spec/support/models/hash_person.rb
sinclair-1.15.0 spec/support/models/hash_person.rb