Class: BraceComp::Capistrano

Inherits:
Object
  • Object
show all
Defined in:
lib/bracecomp/capistrano.rb

Class Method Summary collapse

Class Method Details

.expand_env(name) ⇒ Object



4
5
6
7
# File 'lib/bracecomp/capistrano.rb', line 4

def self.expand_env(name)
  return unless ENV[name]
  ENV[name] = ENV[name].expand.map {|i| i.split(',') }.flatten.uniq.join(',')
end