Method: Vagrantomatic::Instance#ensure_config
- Defined in:
- lib/vagrantomatic/instance.rb
#ensure_config ⇒ Object
Vagrant to be driven from a .json config file, all the parameters are externalised here
167 168 169 170 171 172 173 |
# File 'lib/vagrantomatic/instance.rb', line 167 def ensure_config if ! in_sync? File.open(configfile,"w") do |f| f.write(@config.to_json) end end end |