Module: Kirei::Domain::Entity

Extended by:
T::Helpers, T::Sig
Defined in:
lib/kirei/domain/entity.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



14
15
16
17
18
19
# File 'lib/kirei/domain/entity.rb', line 14

def ==(other)
  return false unless other.is_a?(Kirei::Domain::Entity)
  return false unless instance_of?(other.class)

  id == other.id
end

#classObject

rubocop:disable all



11
# File 'lib/kirei/domain/entity.rb', line 11

def class; super; end