Class: Ehbrs::Tools::Runner::Music::Sort::Load
- Inherits:
 - 
      Object
      
        
- Object
 - Ehbrs::Tools::Runner::Music::Sort::Load
 
 
- Defined in:
 - lib/ehbrs/tools/runner/music/sort/load.rb
 
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
      13 14 15 16 17 18 19 20 21 22 23  | 
    
      # File 'lib/ehbrs/tools/runner/music/sort/load.rb', line 13 def run info "Reading \"#{path}\"..." config = build_config s = config.to_yaml puts s if confirm? info("Writing to \"#{config_file}\"...") File.write(config_file, s) end puts 'Done!'.green end  |