module Doxieland

Constants

VERSION

Public Class Methods

config() click to toggle source
# File lib/doxieland.rb, line 29
def self.config
  if File.file?(config_path)
    YAML.load( File.read(config_path) ).with_indifferent_access
  else
    HashWithIndifferentAccess.new
  end
end
config_path() click to toggle source
# File lib/doxieland.rb, line 25
def self.config_path
  Pathname.new('~/.doxieland').expand_path
end