Class: Protos::Timeline::Center

Inherits:
Component
  • Object
show all
Defined in:
lib/protos/timeline/center.rb

Instance Method Summary collapse

Methods inherited from Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#view_templateObject

DOCS: The center of a timeline. This would usually be an icon or something small that shows a point on the timeline.



9
10
11
# File 'lib/protos/timeline/center.rb', line 9

def view_template(&)
  div(**attrs, &)
end