Method: Inversion::Template::SubscribeTag#publish
- Defined in:
- lib/inversion/template/subscribetag.rb
#publish(*nodes) ⇒ Object
Pub/sub callback. Called from the RenderState when a PublishTag publishes nodes
with the same key as the current tag.
79 80 81 82 |
# File 'lib/inversion/template/subscribetag.rb', line 79 def publish( *nodes ) self.log.debug "Adding published nodes %p to %p" % [ nodes, @content ] @content.push( *nodes ) end |