lib/notifaction/config.rb in notifaction-0.4.0 vs lib/notifaction/config.rb in notifaction-0.4.1
- old
+ new
@@ -2,11 +2,13 @@
module Notifaction
class Cfg
attr_reader :hooks, :conf
+ #
+ # @since 0.4.0
def initialize
- conf = YAML::load(File.open(Dir.home + '/.notifaction.yml'))
+ conf = YAML.load(File.open(Dir.home + "/.notifaction.yml"))
@hooks = conf["hooks"] || []
@conf = conf["config"] || {}
nil