Class: Defgen::Installer
- Inherits:
-
Object
- Object
- Defgen::Installer
- Defined in:
- lib/defgen/installer.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(path, defaultfile, proj) ⇒ Installer
constructor
A new instance of Installer.
- #install ⇒ Object
Constructor Details
#initialize(path, defaultfile, proj) ⇒ Installer
Returns a new instance of Installer.
7 8 9 |
# File 'lib/defgen/installer.rb', line 7 def initialize path, defaultfile, proj self.path, self.defaultfile, self.proj = path, defaultfile, proj end |
Class Method Details
.install(path, defaultfile, proj) ⇒ Object
3 4 5 |
# File 'lib/defgen/installer.rb', line 3 def self.install(path, defaultfile, proj) new(path, defaultfile, proj).install end |
Instance Method Details
#install ⇒ Object
11 12 13 14 15 |
# File 'lib/defgen/installer.rb', line 11 def install install_files configure_xcode proj.save end |