mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 02:52:49 +01:00
e5815737c1
- bumped gems - rm bots - rm pry byebug - added rubocop-shopify and corrected generated warnings
17 lines
253 B
Ruby
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
|