Class: Hyde::TemplateContext
- Inherits:
-
Object
- Object
- Hyde::TemplateContext
- Defined in:
- lib/hyde/template.rb
Overview
Context for template engines
Instance Method Summary collapse
-
#initialize(parent) ⇒ TemplateContext
constructor
A new instance of TemplateContext.
Methods included from DSL::ProbeConstructors
Methods included from DSL::ProbeMethods
#file, #form, #form?, #header, #remove_header, #request, #status
Methods included from DSL::CommonMethods
Constructor Details
#initialize(parent) ⇒ TemplateContext
Returns a new instance of TemplateContext.
19 20 21 |
# File 'lib/hyde/template.rb', line 19 def initialize(parent) @origin = parent end |