Sha256: 4e7a7f4195be9ae2ad5272835708a03642dbb6a39d5384ffc62a8b0b080202f5
Contents?: true
Size: 346 Bytes
Versions: 8
Compression:
Stored size: 346 Bytes
Contents
require 'rubygems' require 'couch_foo' require 'yaml' require 'logger' module Capcode module Resource end Base = CouchFoo::Base class << self def db_connect( dbfile, logfile ) dbconfig = YAML::load(File.open(dbfile)).keys_to_sym Base.set_database(dbconfig) Base.logger = Logger.new(logfile) end end end
Version data entries
8 entries across 8 versions & 1 rubygems