Class: IosToolchain::ConfigBootstrapper
- Inherits:
-
Object
- Object
- IosToolchain::ConfigBootstrapper
- Defined in:
- lib/ios_toolchain/config_bootstrapper.rb
Instance Method Summary collapse
- #bootstrap! ⇒ Object
-
#initialize(project_analyzer) ⇒ ConfigBootstrapper
constructor
A new instance of ConfigBootstrapper.
Constructor Details
#initialize(project_analyzer) ⇒ ConfigBootstrapper
Returns a new instance of ConfigBootstrapper.
6 7 8 |
# File 'lib/ios_toolchain/config_bootstrapper.rb', line 6 def initialize(project_analyzer) @analyzer = project_analyzer end |
Instance Method Details
#bootstrap! ⇒ Object
10 11 12 13 14 |
# File 'lib/ios_toolchain/config_bootstrapper.rb', line 10 def bootstrap! File.open(config_file_path, 'w') do |file| file.write config.to_yaml end end |