Sha256: 8fc37db3ce3ac682ba5c7e49af95b624c3150cb8b930d1462e1f61b6d1273883

Contents?: true

Size: 423 Bytes

Versions: 11

Compression:

Stored size: 423 Bytes

Contents

require "alephant/sequencer/version"
require "alephant/sequencer/sequencer"
require "alephant/sequencer/sequence_table"

module Alephant
  module Sequencer
    @@sequence_tables = {}

    def self.create(table_name, ident, jsonpath = nil, keep_all = true)
      @@sequence_tables[table_name] ||= SequenceTable.new(table_name)
      Sequencer.new(@@sequence_tables[table_name], ident, jsonpath, keep_all)
    end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
alephant-sequencer-2.0.1 lib/alephant/sequencer.rb
alephant-sequencer-2.0.0 lib/alephant/sequencer.rb
alephant-sequencer-1.2.3 lib/alephant/sequencer.rb
alephant-sequencer-1.2.2 lib/alephant/sequencer.rb
alephant-sequencer-1.2.1 lib/alephant/sequencer.rb
alephant-sequencer-1.2.0 lib/alephant/sequencer.rb
alephant-sequencer-1.1.0 lib/alephant/sequencer.rb
alephant-sequencer-1.0.0 lib/alephant/sequencer.rb
alephant-sequencer-0.3.0 lib/alephant/sequencer.rb
alephant-sequencer-0.2.0 lib/alephant/sequencer.rb
alephant-sequencer-0.1.1 lib/alephant/sequencer.rb