Method: Tasks::RenderTask#initialize
- Defined in:
- lib/tasks/render_task.rb
#initialize ⇒ RenderTask
Returns a new instance of RenderTask.
11 12 13 14 15 16 |
# File 'lib/tasks/render_task.rb', line 11 def initialize super(Configs.templates + configs(:templates), configs(:layout)) # Set Global Context to Dom's root node @_context = Dom.root end |