Sha256: 5216c918fd2e4f1993464af01b3da8d609ce3260d4a9525c9fbd1709eba1750f

Contents?: true

Size: 340 Bytes

Versions: 5

Compression:

Stored size: 340 Bytes

Contents

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

module Alephant
  module Lookup
    @@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

5 entries across 5 versions & 1 rubygems

Version Path
alephant-lookup-0.1.7 lib/alephant/lookup.rb
alephant-lookup-0.1.6 lib/alephant/lookup.rb
alephant-lookup-0.1.5 lib/alephant/lookup.rb
alephant-lookup-0.1.4 lib/alephant/lookup.rb
alephant-lookup-0.1.3 lib/alephant/lookup.rb