Sha256: 98d874bd6537e275fb3d8e408ad395ae124270039091a8a131efcfbf58ec5a21

Contents?: true

Size: 405 Bytes

Versions: 5

Compression:

Stored size: 405 Bytes

Contents

require "alephant/lookup/version"
require "alephant/lookup/lookup_helper"
require "alephant/lookup/lookup_table"

require 'alephant/logger'

module Alephant
  module Lookup
    include Logger
    @@lookup_tables = {}

    def self.create(table_name, config={})
      @@lookup_tables[table_name] ||= LookupTable.new(table_name)
      LookupHelper.new(@@lookup_tables[table_name], config)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alephant-lookup-2.2.0 lib/alephant/lookup.rb
alephant-lookup-2.1.0 lib/alephant/lookup.rb
alephant-lookup-2.0.2 lib/alephant/lookup.rb
alephant-lookup-2.0.1 lib/alephant/lookup.rb
alephant-lookup-2.0.0 lib/alephant/lookup.rb