Class: WAB::Impl::Init

Inherits:
Object
  • Object
show all
Defined in:
lib/wab/impl/init.rb

Overview

Creates the initial files for a project including the configuration files and a UI controller. The files are:

  • config/wabur.conf

  • config/opo.conf

  • config/opo-rub.conf

  • lib/uicontroller.rb

If the site option was set then all the export files are used to populate a site directory as well.

Class Method Summary collapse

Class Method Details

.setup(path, config) ⇒ Object



18
19
20
# File 'lib/wab/impl/init.rb', line 18

def self.setup(path, config)
  self.new(path, config)
end