frankfurter/config/app.rb
2014-03-14 12:15:27 +00:00

19 lines
224 B
Ruby

require 'logger'
require 'pathname'
module App
class << self
attr :logger
def env
ENV['RACK_ENV'] || 'development'
end
def root
Pathname.pwd
end
end
@logger = Logger.new(STDOUT)
end