Class: TimelineResourceRenderer

Inherits:
ResourceRenderer::ResourceRenderer::Base show all
Defined in:
app/resource_renderers/timeline_resource_renderer.rb

Instance Attribute Summary

Attributes inherited from ResourceRenderer::ResourceRenderer::Base

#helper, #resource

Instance Method Summary collapse

Methods inherited from ResourceRenderer::ResourceRenderer::Base

#association, #display, #initialize, #render, #resource_class

Constructor Details

This class inherits a constructor from ResourceRenderer::ResourceRenderer::Base

Instance Method Details

#event(attribute_name, options = {}, &block) ⇒ Object



2
3
4
# File 'app/resource_renderers/timeline_resource_renderer.rb', line 2

def event(attribute_name, options = {}, &block)
  build_event(attribute_name, options, &block)
end