Sha256: 0b11fb1ebd22323e0589fa4ef7b9a4779b81cd932796505a29652693e8349cc1

Contents?: true

Size: 212 Bytes

Versions: 3

Compression:

Stored size: 212 Bytes

Contents

# frozen_string_literal: true

class Person
  attr_reader :name

  def initialize(name)
    @name = name
  end

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

    other.name == name
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arstotzka-1.5.0 spec/support/models/person.rb
arstotzka-1.4.4 spec/support/models/person.rb
arstotzka-1.4.3 spec/support/models/person.rb