class Conf

Public Class Methods

read_config() click to toggle source
# File lib/vmfloaty/conf.rb, line 6
def self.read_config
  conf = {}
  begin
    conf = YAML.load_file("#{Dir.home}/.vmfloaty.yml")
  rescue StandardError
    # ignore
  end
  conf
end