Sha256: 2387dcc49fdd0bb98e28e8935c8b254b75a131ca308d729af6d4e5d24f691bf6
Contents?: true
Size: 326 Bytes
Versions: 1
Compression:
Stored size: 326 Bytes
Contents
require 'yaml' require 'rails' module Silvermoon module Notifier def self.config @@config ||= begin YAML.load_file("#{Rails.root}/config/silvermoon.yml").symbolize_keys[Rails.env.to_sym] end end def self.reload_config! @@config = nil end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
silvermoon-0.1 | lib/silvermoon/notifier.rb |