class Tumblargh::Renderer::Blocks::Lines
Public Instance Methods
alt()
click to toggle source
“odd” or “even” for each line of this post. TODO Implementation
# File lib/tumblargh/renderer/blocks/chat.rb, line 13 def alt end
render()
click to toggle source
Calls superclass method
Tumblargh::Renderer::Blocks::Base#render
# File lib/tumblargh/renderer/blocks/chat.rb, line 22 def render if context.is_a? Resource::Dialogue super else context.dialogue.map do |l| l.context = self self.class.new(node, l).render end.flatten.join('') end end
user_number()
click to toggle source
A unique identifying integer representing the user of the current line of this post. TODO Implementation
# File lib/tumblargh/renderer/blocks/chat.rb, line 19 def user_number end