Module: TemplateBuilder::App

Defined in:
lib/template_builder/app.rb,
lib/template_builder/app/new.rb,
lib/template_builder/app/show.rb,
lib/template_builder/app/command.rb,
lib/template_builder/app/command_add.rb,
lib/template_builder/app/file_manager.rb

Defined Under Namespace

Modules: ConfWriter, FileAnalyzer, Helper Classes: Add, Command, FileManager, Main, New, Show

Constant Summary collapse

Error =
Class.new(StandardError)

Class Method Summary collapse

Class Method Details

.run(args = nil) ⇒ Object

Create a new instance of Main, and run the template_builder application given the command line args.



14
15
16
17
# File 'lib/template_builder/app.rb', line 14

def self.run( args = nil )
  args ||= ARGV.dup.map! { |v| v.dup }
  ::TemplateBuilder::App::Main.new.run args
end