class Tumblargh::Renderer::Blocks::Photos
Rendered for each of the Photoset
photos
Public Instance Methods
render()
click to toggle source
Calls superclass method
Tumblargh::Renderer::Blocks::Base#render
# File lib/tumblargh/renderer/blocks/photoset.rb, line 13 def render if context.is_a? Resource::Photo super else context.photos.map do |photo| photo.context = self self.class.new(node, photo).render end.flatten.join('') end end