module Glog

Attributes

config[W]
env[RW]

Public Class Methods

config() click to toggle source
# File lib/glog.rb, line 15
def config
  return @config if @config
  if File.exist?('./glog.yaml')
    @config ||= YAML.load_file('./glog.yaml')
  else
    @config = { 'root' => 'root' }
  end
end