Sha256: 9ce3d57d8c0980dfbb96696d586853ca63b41cb17cf7fbdbc02798e55c7b35ea

Contents?: true

Size: 206 Bytes

Versions: 29

Compression:

Stored size: 206 Bytes

Contents

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

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

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
activerecord-turntable-3.1.0 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-3.0.1 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-3.0.0 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-2.5.0 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-3.0.0.alpha3 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-3.0.0.alpha2 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-2.4.0 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-3.0.0.alpha1 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-2.3.3 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-2.3.2 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-2.3.1 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-2.3.0 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-2.2.2 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-2.2.1 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-2.2.0 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-2.1.1 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-2.1.0 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-2.1.0.rc2 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-2.1.0.rc1 lib/active_record/turntable/algorithm/base.rb
activerecord-turntable-2.1.0.beta2 lib/active_record/turntable/algorithm/base.rb