Class: Pec::Command::Config
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.run(host_name, options) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/pec/command/config.rb', line 3 def self.run(host_name, ) puts YAML.dump( YAML.load_file("Pec.yaml").to_hash.reject {|c| c[0].to_s.match(/^_/)} ) rescue => e print_exception(e) end |