Class: Cubic::Application

Inherits:
Engine
  • Object
show all
Defined in:
lib/cubic/application.rb

Overview

A cubic application inherits from the Application class, allowing it to change things such as configuration options.

Direct Known Subclasses

TestApp::Application

Class Method Summary collapse

Methods inherited from Engine

call, #initialize, #response

Constructor Details

This class inherits a constructor from Cubic::Engine

Class Method Details

.configObject

Allows configuration options to be set within the config/application.rb file.



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

def config
  Configurator
end

.load_appObject

Requires all files from the generated application during startup.



14
15
16
# File 'lib/cubic/application.rb', line 14

def load_app
  start_load if load_acceptable?
end