Method: Marv::Global#generate_config
- Defined in:
- lib/marv/global.rb
#generate_config(from_command = false) ⇒ Object
Generate configuration
30 31 32 33 34 35 36 |
# File 'lib/marv/global.rb', line 30 def generate_config(from_command=false) if from_command ::File.exists?(config_file) ? reconfigure : configure(from_command) else configure unless ::File.exists?(config_file) end end |