Sha256: 297082548e3d35d1b14df6246b9698d63c2e35316b0b49b778e35c340c3c2794
Contents?: true
Size: 237 Bytes
Versions: 1
Compression:
Stored size: 237 Bytes
Contents
require "figaro/railtie" module Figaro extend self def env yaml && YAML.load(yaml) || {} end def yaml File.exist?(path) ? File.read(path) : nil end def path Rails.root.join("config/application.yml") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
figaro-0.3.0 | lib/figaro.rb |