Module: Cubic

Defined in:
lib/cubic.rb,
lib/cubic/engine.rb,
lib/cubic/render.rb,
lib/cubic/router.rb,
lib/cubic/version.rb,
lib/cubic/generator.rb,
lib/cubic/application.rb,
lib/cubic/generators/app.rb,
lib/cubic/generators/base.rb,
lib/cubic/generators/view.rb,
lib/cubic/generators/model.rb,
lib/cubic/generators/config.rb,
lib/cubic/middleware/static.rb,
lib/cubic/generators/gemfile.rb,
lib/cubic/application/logable.rb,
lib/cubic/generators/controller.rb,
lib/cubic/generators/migrations.rb,
lib/cubic/application/controller.rb,
lib/cubic/application/configurator.rb,
lib/cubic/core_extensions/string/parse.rb

Overview

Cubic is a small framework built on the idea of quick generation using templates.

Defined Under Namespace

Modules: CoreExtensions, Generator, Logable Classes: Application, Configurator, CubicController, Engine, Render, Router, Static

Constant Summary collapse

VERSION =
'0.1.0'.freeze

Class Method Summary collapse

Class Method Details

.applicationObject



25
26
27
# File 'lib/cubic.rb', line 25

def application
  @app ||= Application
end

.sitemap(&block) ⇒ Object

First method to be called in the generation process.



21
22
23
# File 'lib/cubic.rb', line 21

def sitemap(&block)
  Generator.run(&block)
end