Class: CukeSalad::CLI::Structure

Inherits:
Object
  • Object
show all
Includes:
Aruba::Api
Defined in:
lib/cukesalad/cli.rb

Instance Method Summary collapse

Constructor Details

#initializeStructure

Returns a new instance of Structure.



19
20
21
# File 'lib/cukesalad/cli.rb', line 19

def initialize
  set_aruba_path_to_current
end

Instance Method Details

#setup(project) ⇒ Object



23
24
25
26
# File 'lib/cukesalad/cli.rb', line 23

def setup project
  create_and_navigate_to project
  setup_cucumber_with_cukesalad
end

#setup_cucumber_with_cukesaladObject



28
29
30
31
# File 'lib/cukesalad/cli.rb', line 28

def setup_cucumber_with_cukesalad
  create_dir_structure
  configure
end