Sha256: 17d806558ccf26e2ed679fa638314942c6560efc502c21c21d0cc65685a25d8e

Contents?: true

Size: 350 Bytes

Versions: 1

Compression:

Stored size: 350 Bytes

Contents

require File.dirname(__FILE__) + "/active_wrapper/db"
require File.dirname(__FILE__) + "/active_wrapper/log"

class ActiveWrapper
  
  def initialize(options={})
    
    options = {
      :base => File.dirname($0),
      :env => 'development',
      :log => 'development'
    }.merge(options)
    
    [ Db.new(options), Log.new(options) ]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
winton-active_wrapper-0.1.0 lib/active_wrapper.rb