Sha256: 424c91aedda0deb45af96def3c4d7da3e3ae5d1a5ea0e79e4130848c9a98511f
Contents?: true
Size: 458 Bytes
Versions: 15
Compression:
Stored size: 458 Bytes
Contents
# setup for napa # require the files that are required before everything else in napa # useful if you want to use any variables/methods defined here without loading the rest of napa immediately require 'active_support' module Napa class << self 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
15 entries across 15 versions & 1 rubygems