Sha256: d6c8b4e46de6873e97e463a706bfbec9fc972c1393fb66131272a0ef8fe9bbdd

Contents?: true

Size: 386 Bytes

Versions: 3

Compression:

Stored size: 386 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)
      @@lookup_tables[table_name] ||= LookupTable.new(table_name)
      LookupHelper.new(@@lookup_tables[table_name])
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alephant-lookup-1.0.0 lib/alephant/lookup.rb
alephant-lookup-0.4.2 lib/alephant/lookup.rb
alephant-lookup-0.4.1 lib/alephant/lookup.rb