Module Lafcadio::DomainComparable
In: lafcadio/domain.rb

DomainComparable is used by DomainObject and DomainObjectProxy to define comparisons.


<=>   eql?   hash  

Included Modules


Public Instance methods

A DomainObject or DomainObjectProxy is compared by domain_class and by pk_id.

Two DomainObjects or DomainObjectProxies are eql? if they have the same domain_class and the same pk_id.