Class: RSpecDocumentation::ProjectInitialization

Inherits:
Object
  • Object
show all
Includes:
Paintbrush
Defined in:
lib/rspec_documentation/project_initialization.rb

Overview

Initializes a new project if ‘rspec-documentation/` directory is empty.

Instance Method Summary collapse

Instance Method Details

#flushObject



8
9
10
11
12
13
14
# File 'lib/rspec_documentation/project_initialization.rb', line 8

def flush
  print_welcome
  create_base_dir
  create_sample_files
  create_spec_helper
  print_initialization_complete
end