Module: ActiveEntity::Persistence

Extended by:
ActiveSupport::Concern
Included in:
Base
Defined in:
lib/active_entity/persistence.rb

Overview

Active Entity Persistence

Instance Method Summary collapse

Instance Method Details

#destroyed?Boolean



12
13
14
# File 'lib/active_entity/persistence.rb', line 12

def destroyed?
  false
end

#new_record?Boolean



8
9
10
# File 'lib/active_entity/persistence.rb', line 8

def new_record?
  true
end

#persisted?Boolean



16
17
18
# File 'lib/active_entity/persistence.rb', line 16

def persisted?
  false
end