Class: Protos::Timeline::Item
- Defined in:
- lib/protos/timeline/item.rb
Instance Method Summary collapse
-
#view_template ⇒ Object
DOCS: The item of a timeline.
Methods inherited from Component
Constructor Details
This class inherits a constructor from Protos::Component
Instance Method Details
#view_template ⇒ Object
DOCS: The item of a timeline. Usually containing a center, left and right and depending on its position in the list, an hr at the beginning or end.
10 11 12 |
# File 'lib/protos/timeline/item.rb', line 10 def view_template(&) li(**attrs, &) end |