Sha256: adb5d2a0884c63b9798db226a92b97c2bdb1f7283c22d98699b5c0027d349872

Contents?: true

Size: 234 Bytes

Versions: 3

Compression:

Stored size: 234 Bytes

Contents

# frozen_string_literal: true

module Basic101

  module Identity

    def ==(other)
      return false unless other.is_a?(self.class)
      self.state == other.state
    end

    protected

    def state
      []
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
basic101-1.0.2 lib/basic101/identity.rb
basic101-1.0.1 lib/basic101/identity.rb
basic101-1.0.0 lib/basic101/identity.rb