module DockDriver::Template::Environment
Adds Unix environment related methods to the DockDriver::Template
DSL.
Public Instance Methods
env( key )
click to toggle source
Returns the current value of an environment variable. Example:
<%= env 'USER' %> => mike
# File lib/dock_driver/template/environment.rb, line 10 def env( key ) return ENV[key] end