module Envar
Constants
- VERSION
Public Class Methods
from_env(name)
click to toggle source
# File lib/envar/accessor.rb, line 7 def from_env(name) name = name.to_s Envar::Config.load ENV[name] || ENV[name.upcase] end
method_missing(name, *args, &block)
click to toggle source
# File lib/envar/accessor.rb, line 3 def method_missing(name, *args, &block) from_env(name) end