frankfurter/config/app.rb
2017-06-14 23:01:27 +01:00

17 lines
221 B
Ruby

# frozen_string_literal: true
require 'pathname'
# Encapsulates app configuration
module App
class << self
def env
ENV['RACK_ENV'] || 'development'
end
def root
Pathname.pwd
end
end
end