Class: Keystone::Installer

Inherits:
Object
  • Object
show all
Defined in:
lib/keystone/installer.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Installer

Returns a new instance of Installer.



5
6
7
# File 'lib/keystone/installer.rb', line 5

def initialize(options)
  @options  = options
end

Instance Method Details

#installObject



9
10
11
12
13
14
15
16
# File 'lib/keystone/installer.rb', line 9

def install
  if keystone_exists?
    puts "Error: Keystone already exists."
  else
    install_keystone
    puts "Keystone successfully installed to #{target_folder}/keystone/"
  end
end