module Doppel
Constants
- VERSION
Attributes
logger[W]
Public Class Methods
load()
click to toggle source
# File lib/doppel.rb, line 23 def self.load ::ActiveRecord::Base.send :prepend, ActiveRecord::Base end
logger()
click to toggle source
# File lib/doppel.rb, line 11 def logger @logger ||= Logger.new($stdout).tap do |log| log.progname = self.name log.level = Logger::INFO end end
root()
click to toggle source
# File lib/doppel.rb, line 19 def self.root @root ||= Pathname.new(File.expand_path('../../', File.dirname(__FILE__))) end