quiet_assets
quiet_assets copied to clipboard
Why use ENV[key] rather than a class variable?
https://github.com/evrone/quiet_assets/blob/master/lib%2Fquiet_assets.rb#L23
Could you use a class variable rather than using the ENV Hash?
@justin808 In this context, the env is a Rack "environment" and not a Ruby ENV to access environment variables.
The Rack env is a Hash.
http://www.rubydoc.info/github/rack/rack/master/file/SPEC