Class: EasyPortfolio

Inherits:
Object
  • Object
show all
Extended by:
FileAction
Defined in:
lib/easy_portfolio.rb

Constant Summary collapse

OUTPUT =
Output.new
INPUT =
Input.new

Class Method Summary collapse

Methods included from FileAction

create_template_directory, perform_git_and_bundler_actions, template_already_exists?

Class Method Details

.executeObject



32
33
34
35
36
37
38
# File 'lib/easy_portfolio.rb', line 32

def self.execute
  opening_actions
  answer = input_action
  action_verified?(answer) ? directory_creation_actions : refusal_action

  ending_action
end