class Expansions::Startup

Public Class Methods

run() click to toggle source
# File lib/expansions/startup.rb, line 3
def self.run
  [
    TemplateProcessors,
    TemplateVisitor,
    Expansion,
    Shell
  ].each do |item| 
    item.send(:include, Singleton)
  end

  TemplateProcessors.instance.register_processor(:erb,ERBTemplateFile)
  TemplateProcessors.instance.register_processor(:mustache,MustacheTemplateFile)

  Expansions.enable_logging
end