Method: Heroku::Bartender::Sandbox#initialize

Defined in:
lib/heroku/bartender/sandbox.rb

#initialize(sha) ⇒ Sandbox

Returns a new instance of Sandbox.



9
10
11
12
13
14
# File 'lib/heroku/bartender/sandbox.rb', line 9

def initialize(sha)
  @sha         = sha
  @name        = gen_sandbox_name
  @sandbox_dir = "#{Dir.tmpdir}/#{@name}/"
  @current_dir = "#{Dir.pwd}/"
end