class Dorsum::Configuration
Constants
- CONFIG_PATH
Attributes
yaml[RW]
Public Class Methods
new()
click to toggle source
# File lib/dorsum/configuration.rb, line 7 def initialize CONFIG_PATH.each do |config| next unless File.exist?(config) self.yaml = YAML.load_file(config) end end
Public Instance Methods
databases()
click to toggle source
# File lib/dorsum/configuration.rb, line 14 def databases yaml['databases'] end