Sha256: 974f0f6f61e87900ae9b13e93394576858cdb7f86af9b34ba69a7e9369191502

Contents?: true

Size: 231 Bytes

Versions: 5

Compression:

Stored size: 231 Bytes

Contents

module ActiveRecord::Turntable::Algorithm
  class Base
    def initialize(config)
      @config = config
    end

    def calculate(key)
      raise ActiveRecord::Turntable::NotImplementedError, "not implemented"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activerecord-turntable-1.1.2 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-1.1.1 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-1.1.0 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-1.0.1 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-1.0.0 lib/active_record/turntable/algorithm/base.rb