lib/cloudstack-client/helper.rb in cloudstack-cli-0.1.7 vs lib/cloudstack-client/helper.rb in cloudstack-cli-0.2.0

- old
+ new

@@ -1,13 +1,13 @@ module CloudstackClient - class ConnectionHelper + module ConnectionHelper def self.load_configuration(config_file) begin return YAML::load(IO.read(config_file)) rescue Exception => e $stderr.puts "Can't find the config file #{config_file}." $stderr.puts "To create a new configuration file run \"cs setup\"." exit 1 end end end -end +end \ No newline at end of file