Method: Brief::Briefcase#initialize
- Defined in:
- lib/brief/briefcase.rb
#initialize(options = {}) ⇒ Briefcase
Returns a new instance of Briefcase.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/brief/briefcase.rb', line 8 def initialize( = {}) @options = .to_mash load_configuration use(:app, [:app]) if [:app] load_model_definitions if Brief.case.nil? Brief.case = self end Brief.cases[root.basename.to_s] ||= self end |