class Swee::Config
Attributes
app[RW]
app_plugin[RW]
db[RW]
server[RW]
Public Class Methods
new()
click to toggle source
# File lib/swee/config.rb, line 107 def initialize @server = ServerConfig.new @app = AppConfig.new @db = DbConfig.new # @plugin = AppPluginConfig.new end
Public Instance Methods
default_config!(options)
click to toggle source
# File lib/swee/config.rb, line 114 def default_config! options [@server,@app,@db].each { |cfg| cfg.default_config! options } end