Class: Deas::Template::Partial

Inherits:
Deas::Template show all
Defined in:
lib/deas/template.rb

Instance Attribute Summary

Attributes inherited from Deas::Template

#name, #options

Instance Method Summary collapse

Methods inherited from Deas::Template

#engine, #render

Constructor Details

#initialize(sinatra_call, name, locals = nil) ⇒ Partial

Returns a new instance of Partial.



77
78
79
80
# File 'lib/deas/template.rb', line 77

def initialize(sinatra_call, name, locals = nil)
  options = { :locals => (locals || {}) }
  super sinatra_call, name, options
end