Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 240 Bytes
require 'yaml'
module Pomoplot
module Config
class << self
def load(path)
open(path) {|yaml| YAML.load(yaml) }
end
def user
load(File.join(ENV['HOME'], '.pomoplot.yml'))
end
end
end
end