Method: Subledger::Domain#==
- Defined in:
- lib/subledger/domain.rb
#==(other) ⇒ Object
47 48 49 50 51 52 53 54 55 |
# File 'lib/subledger/domain.rb', line 47 def == other if respond_to?( :id ) and other.respond_to?( :id ) and ( ( not id.nil? ) and ( not other.id.nil? ) ) id == other.id else super end end |