Module: ATD

Defined in:
lib/atd.rb,
lib/atd/routes.rb,
lib/atd/version.rb

Overview

The assistant technical director of your website. It does the dirty work so you can see the big picture.

Defined Under Namespace

Modules: Compilation, Helpers, Refinements Classes: App, Route

Constant Summary collapse

VERSION =

The current version number of ATD.

"0.5.0".freeze

Class Method Summary collapse

Class Method Details

.new(name) ⇒ ATD::App

Creates a new ATD App based on the template of App.

Parameters:

  • name (Symbol)

    The name of the new app and new class generated.

Returns:



18
19
20
21
22
# File 'lib/atd.rb', line 18

def new(name)
  app = Class.new(App)
  Object.const_set(name.to_sym, app)
  app
end