Sha256: c1ef404104c14c6f2fee6cd12bcc74933e48d889ff0adee17ed69f5f6479c3ba
Contents?: true
Size: 327 Bytes
Versions: 1
Compression:
Stored size: 327 Bytes
Contents
module Middleman module Dotenv class << self def registered(app, options_hash={}) require 'dotenv' ::Dotenv.load File.join(Dir.pwd, ".env") app.before do ::Dotenv.load File.join(self.class.inst.root, ".env") end end alias :included :registered end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
middleman-dotenv-0.0.1 | lib/middleman-dotenv/extension.rb |