Module: Forger::Template

Included in:
Config, Profile, Script::Compile
Defined in:
lib/forger/template/context.rb,
lib/forger/template.rb,
lib/forger/template/helper.rb

Overview

Encapsulates helper methods and instance variables to be rendered in the ERB templates.

Defined Under Namespace

Modules: Helper Classes: Context

Instance Method Summary collapse

Instance Method Details

#contextObject



9
10
11
# File 'lib/forger/template.rb', line 9

def context
  @context ||= Forger::Template::Context.new(@options)
end