-
Arnaud Levy authoredArnaud Levy authored
timeline.rb 321 B
class Communication::Block::Template::Timeline < Communication::Block::Template::Base
def description
"#{data['description']}"
end
def events
@events ||= elements.map { |element| event(element) }
.compact
end
protected
def event(element)
element.to_dot
end
end