Method: Barman::ProjectGenerators::QA#initialize

Defined in:
lib/barman/project_generators/qa.rb

#initialize(project_name, options) ⇒ QA

Returns a new instance of QA.



10
11
12
13
14
15
16
# File 'lib/barman/project_generators/qa.rb', line 10

def initialize(project_name, options)
  @project_name   = project_name
  @options        = options
  @templates_path = File.join(Barman.templates_path, "qa")
  @project_path   = File.join(".", project_name.to_s)
  @test_path      = File.join(project_path, "test")
end