Class: Timber::CLI::Installers::Root

Inherits:
Timber::CLI::Installer
  • Object
show all
Defined in:
lib/timber/cli/installers/root.rb

Overview

The root installer is the primary installer that is instantiated and run when the installer starts. It is responsible for instantiating the proper sub installers that install Timber in specific frameworks and environments.

Instance Method Summary collapse

Instance Method Details

#run(app) ⇒ Object



26
27
28
29
30
31
32
33
34
35
36
# File 'lib/timber/cli/installers/root.rb', line 26

def run(app)
  io.puts IO::Messages.application_details(app)
  io.puts ""

  run_sub_installer(app)
  send_test_messages
  confirm_log_delivery
  api.event(:success)
  collect_feedback
  wrap_up(app)
end