lib/deas/template.rb in deas-0.23.4 vs lib/deas/template.rb in deas-0.24.0

- old
+ new

@@ -38,11 +38,13 @@ end top_render_proc.call end class Scope + attr_reader :sinatra_call + def initialize(sinatra_call) @sinatra_call = sinatra_call end def render(name, options = nil, &block) @@ -69,9 +71,10 @@ def ==(other_scope) self.sinatra_call == other_scope.sinatra_call self.class.included_modules == other_scope.class.included_modules end + end class Partial < Template def initialize(sinatra_call, name, locals = nil)