Module: Alephant::Lookup
- Includes:
- Logger
- Defined in:
- lib/alephant/lookup.rb,
lib/alephant/lookup/version.rb,
lib/alephant/lookup/lookup_query.rb,
lib/alephant/lookup/lookup_table.rb,
lib/alephant/lookup/lookup_helper.rb,
lib/alephant/lookup/lookup_location.rb
Defined Under Namespace
Classes: LookupHelper, LookupLocation, LookupQuery, LookupTable
Constant Summary collapse
- VERSION =
"1.0.0"- @@lookup_tables =
{}
Class Method Summary collapse
Class Method Details
.create(table_name) ⇒ Object
12 13 14 15 |
# File 'lib/alephant/lookup.rb', line 12 def self.create(table_name) @@lookup_tables[table_name] ||= LookupTable.new(table_name) LookupHelper.new(@@lookup_tables[table_name]) end |