Sha256: 1f7b555c528d903ad2603772f4d489748e0e4b0e78fe7c803a76d16a9b54ca81

Contents?: true

Size: 211 Bytes

Versions: 15

Compression:

Stored size: 211 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

15 entries across 15 versions & 1 rubygems

Version Path
arstotzka-1.4.2 spec/support/models/person.rb
arstotzka-1.4.1 spec/support/models/person.rb
arstotzka-1.4.0 spec/support/models/person.rb
arstotzka-1.3.2 spec/support/models/person.rb
arstotzka-1.3.1 spec/support/models/person.rb
arstotzka-1.3.0 spec/support/models/person.rb
arstotzka-1.2.4 spec/support/models/person.rb
arstotzka-1.2.3 spec/support/models/person.rb
arstotzka-1.2.2 spec/support/models/person.rb
arstotzka-1.2.1 spec/support/models/person.rb
arstotzka-1.2.0 spec/support/models/person.rb
arstotzka-1.1.0 spec/support/models/person.rb
arstotzka-1.0.4 spec/support/models/person.rb
arstotzka-1.0.3 spec/support/models/person.rb
arstotzka-1.0.2 spec/support/models/person.rb