Module: Templar

Defined in:
lib/templar/config.rb,
lib/templar/engine.rb,
lib/templar/version.rb,
lib/templar/processor.rb

Overview

Templar is a configuration template manager.

Defined Under Namespace

Modules: Version Classes: Config, Engine, Processor

Class Method Summary collapse

Class Method Details

.configObject



19
20
21
# File 'lib/templar/engine.rb', line 19

def config
  @processor.config
end

.dataObject



15
16
17
# File 'lib/templar/engine.rb', line 15

def data
  @processor.data
end

.init(overrides = {}) ⇒ Object



11
12
13
# File 'lib/templar/engine.rb', line 11

def init(overrides = {})
  @processor ||= Templar::Processor.new(:overrides => overrides)
end