require 'og/store' module Og # A specialization of a Store. class Adapter < Store # Load the store for the given name. def self.for_name name Logger.info "Og uses the #{name.to_s.capitalize} store." require('og/adapter/' + name.to_s) return Og.const_get("#{name.to_s.capitalize}Adapter") end end end