Class: Cubic::Configurator

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

Overview

Configuration stores details given during startup.

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.template_engineObject

Returns the value of attribute template_engine.



5
6
7
# File 'lib/cubic/application/configurator.rb', line 5

def template_engine
  @template_engine
end

Class Method Details

.design {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



7
8
9
# File 'lib/cubic/application/configurator.rb', line 7

def design
  yield self
end

.root_dirObject



11
12
13
# File 'lib/cubic/application/configurator.rb', line 11

def root_dir
  APP_PATH
end