Path: | lib/caesars/config.rb |
Last Update: | Wed Apr 17 08:03:40 +0000 2013 |
A helper for loading a DSL from a config file.
Usage:
class Staff < Caesars; end; class StaffConfig < Caesars::Config dsl Staff::DSL end @config = StaffConfig.new('/path/2/staff_dsl.rb') p @config.staff # => <Staff:0x7ea450 ... >