Module: Cucumber::Chef::Utility::FileHelper

Included in:
Cucumber::Chef::Utility
Defined in:
lib/cucumber/chef/utility/file_helper.rb

Instance Method Summary collapse

Instance Method Details

#config_rbObject



34
35
36
37
38
# File 'lib/cucumber/chef/utility/file_helper.rb', line 34

def config_rb
  result = File.join(Cucumber::Chef.home_dir, "config.rb")
  ensure_directory(result)
  result
end

#labfileObject



40
41
42
43
44
# File 'lib/cucumber/chef/utility/file_helper.rb', line 40

def labfile
  result = File.join(Cucumber::Chef.chef_repo, "Labfile")
  ensure_directory(result)
  result
end

#log_fileObject



28
29
30
31
32
# File 'lib/cucumber/chef/utility/file_helper.rb', line 28

def log_file
  result = File.join(Cucumber::Chef.home_dir, "cucumber-chef.log")
  ensure_directory(result)
  result
end