Class: Defgen::Installer

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

Class Method Summary collapse

Instance Method Summary collapse

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

#installObject



11
12
13
14
15
# File 'lib/defgen/installer.rb', line 11

def install
  install_files
  configure_xcode
  proj.save
end