Class: Terror::Installer

Inherits:
Object
  • Object
show all
Includes:
FileUtils
Defined in:
lib/terror/installer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ Installer

Returns a new instance of Installer.



10
11
12
13
# File 'lib/terror/installer.rb', line 10

def initialize(path)
  @project_name = path
  @root         = File.expand_path(path)
end

Instance Attribute Details

#rootObject (readonly)

Returns the value of attribute root.



8
9
10
# File 'lib/terror/installer.rb', line 8

def root
  @root
end

Instance Method Details

#startObject



15
16
17
18
19
# File 'lib/terror/installer.rb', line 15

def start
  create_folders
  copy_files
  create_thin_configuration
end