Sha256: 93042ab51ce85512fb3c6a9d600027fa617309d1da0f2b7ff1bfc54e3f08eeb6

Contents?: true

Size: 521 Bytes

Versions: 16

Compression:

Stored size: 521 Bytes

Contents

module Volt
  module Persistors
    # Implements the base persistor functionality.
    class Base
      def loaded(initial_state = nil)
      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, first, first_for_event)
      end

      def event_removed(event, last, last_for_event)
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
volt-0.8.27.beta3 lib/volt/models/persistors/base.rb
volt-0.8.27.beta2 lib/volt/models/persistors/base.rb
volt-0.8.27.beta1 lib/volt/models/persistors/base.rb
volt-0.8.26.beta1 lib/volt/models/persistors/base.rb
volt-0.8.26 lib/volt/models/persistors/base.rb
volt-0.8.24 lib/volt/models/persistors/base.rb
volt-0.8.23 lib/volt/models/persistors/base.rb
volt-0.8.22 lib/volt/models/persistors/base.rb
volt-0.8.22.beta2 lib/volt/models/persistors/base.rb
volt-0.8.22.beta1 lib/volt/models/persistors/base.rb
volt-0.8.21 lib/volt/models/persistors/base.rb
volt-0.8.20 lib/volt/models/persistors/base.rb
volt-0.8.19 lib/volt/models/persistors/base.rb
volt-0.8.18 lib/volt/models/persistors/base.rb
volt-0.8.17 lib/volt/models/persistors/base.rb
volt-0.8.16 lib/volt/models/persistors/base.rb