module Noteman::Config

Constants

NOTEMAN_CONFIG

Attributes

config[R]

Public Instance Methods

read_from_file() click to toggle source
# File lib/noteman/config.rb, line 33
def read_from_file
  c = {}
  if c.empty? && File.exists?(NOTEMAN_CONFIG)
    c = YAML.load_file(NOTEMAN_CONFIG)
  end
  c
end