Sha256: 578478a36527fbcea20e7d805cfb420a3f38f676c9891354e6a2385acfcada76
Contents?: true
Size: 333 Bytes
Versions: 1
Compression:
Stored size: 333 Bytes
Contents
require 'active_support' require 'dotenv' module Gris class << self def load_environment Dotenv.load end def env @_env ||= ActiveSupport::StringInquirer.new(ENV['RACK_ENV'] || 'development') end def env=(environment) @_env = ActiveSupport::StringInquirer.new(environment) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gris-0.1.4 | lib/gris/setup.rb |