Module: Forger::Template

Included in:
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



6
7
8
# File 'lib/forger/template.rb', line 6

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