frankfurter/config/app.rb
Hakan Ensari e5815737c1
Spring cleaning
- bumped gems
- rm bots
- rm pry byebug
- added rubocop-shopify and corrected generated warnings
2024-11-20 14:14:27 +01:00

17 lines
253 B
Ruby

# frozen_string_literal: true
require "pathname"
# Encapsulates app configuration
module App
class << self
def env
ENV["APP_ENV"] || "development"
end
def root
Pathname.new(File.expand_path("..", __dir__))
end
end
end