Method: Inversion::Template::SubscribeTag#before_rendering

Defined in:
lib/inversion/template/subscribetag.rb

#before_rendering(renderstate) ⇒ Object

Tell the renderstate that this tag is interested in nodes that are published with its key.



65
66
67
68
# File 'lib/inversion/template/subscribetag.rb', line 65

def before_rendering( renderstate )
	@content.clear
	renderstate.subscribe( self.key, self )
end