Class: Terror::Installer
- Inherits:
-
Object
- Object
- Terror::Installer
- Includes:
- FileUtils
- Defined in:
- lib/terror/installer.rb
Instance Attribute Summary collapse
-
#root ⇒ Object
readonly
Returns the value of attribute root.
Instance Method Summary collapse
-
#initialize(path) ⇒ Installer
constructor
A new instance of Installer.
- #start ⇒ Object
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.(path) end |
Instance Attribute Details
#root ⇒ Object (readonly)
Returns the value of attribute root.
8 9 10 |
# File 'lib/terror/installer.rb', line 8 def root @root end |
Instance Method Details
#start ⇒ Object
15 16 17 18 19 |
# File 'lib/terror/installer.rb', line 15 def start create_folders copy_files create_thin_configuration end |