module Holistics
Custom logger class that allows
Constants
- DATE
- VERSION
Public Class Methods
env()
click to toggle source
# File lib/holistics.rb, line 22 def self.env return ENV['HOLISTICS_ENV'] end
logger()
click to toggle source
# File lib/holistics.rb, line 30 def self.logger @logger ||= CustomLogger.new(STDOUT) end
root()
click to toggle source
# File lib/holistics.rb, line 18 def self.root Pathname.new(__FILE__).parent.parent end
test?()
click to toggle source
# File lib/holistics.rb, line 26 def self.test? self.env == 'test' end