Sha256: a2124595726b6d6d67da63d0230b54d2a3464a6aa3986c25cb99270426eefa30

Contents?: true

Size: 458 Bytes

Versions: 20

Compression:

Stored size: 458 Bytes

Contents

module Persistors
  # Implements the base persistor functionality.
  class Base
    def loaded
    end
    
    def changed(attribute_name)
    end
    
    def added(model, index)
    end
    
    # For removed, the default action is to call changed for it
    def removed(attribute_name)
      changed(attribute_name)
    end
    
    def event_added(event, scope_provider, first)
    end
    
    def event_removed(event, no_more_events)
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
volt-0.6.5 lib/volt/models/persistors/base.rb
volt-0.6.4 lib/volt/models/persistors/base.rb
volt-0.6.3 lib/volt/models/persistors/base.rb
volt-0.6.2 lib/volt/models/persistors/base.rb
volt-0.6.1 lib/volt/models/persistors/base.rb
volt-0.6.0 lib/volt/models/persistors/base.rb
volt-0.5.18 lib/volt/models/persistors/base.rb
volt-0.5.17 lib/volt/models/persistors/base.rb
volt-0.5.16 lib/volt/models/persistors/base.rb
volt-0.5.15 lib/volt/models/persistors/base.rb
volt-0.5.14 lib/volt/models/persistors/base.rb
volt-0.5.13 lib/volt/models/persistors/base.rb
volt-0.5.12 lib/volt/models/persistors/base.rb
volt-0.5.11 lib/volt/models/persistors/base.rb
volt-0.5.10 lib/volt/models/persistors/base.rb
volt-0.5.9 lib/volt/models/persistors/base.rb
volt-0.5.8 lib/volt/models/persistors/base.rb
volt-0.5.7 lib/volt/models/persistors/base.rb
volt-0.5.6 lib/volt/models/persistors/base.rb
volt-0.5.4 lib/volt/models/persistors/base.rb