Sha256: b18c041aa02dfca74e540ef7a4c6cafe10baf3b2b013459cec8a117959ccc4fe

Contents?: true

Size: 396 Bytes

Versions: 9

Compression:

Stored size: 396 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)
      @@sequence_tables[table_name] ||= SequenceTable.new(table_name)
      Sequencer.new(@@sequence_tables[table_name], ident, jsonpath)
    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
alephant-sequencer-0.1.0 lib/alephant/sequencer.rb
alephant-sequencer-0.0.8 lib/alephant/sequencer.rb
alephant-sequencer-0.0.7 lib/alephant/sequencer.rb
alephant-sequencer-0.0.6 lib/alephant/sequencer.rb
alephant-sequencer-0.0.5 lib/alephant/sequencer.rb
alephant-sequencer-0.0.4 lib/alephant/sequencer.rb
alephant-sequencer-0.0.3 lib/alephant/sequencer.rb
alephant-sequencer-0.0.2 lib/alephant/sequencer.rb
alephant-sequencer-0.0.1 lib/alephant/sequencer.rb