Class: Protos::Timeline
- Inherits:
-
Component
- Object
- Phlex::HTML
- Component
- Protos::Timeline
show all
- Defined in:
- lib/protos/timeline.rb,
lib/protos/timeline/item.rb,
lib/protos/timeline/left.rb,
lib/protos/timeline/right.rb,
lib/protos/timeline/center.rb
Defined Under Namespace
Classes: Center, Item, Left, Right
Instance Method Summary
collapse
Methods inherited from Component
#initialize
Instance Method Details
#center ⇒ Object
18
|
# File 'lib/protos/timeline.rb', line 18
def center(...) = render Center.new(...)
|
#item ⇒ Object
14
|
# File 'lib/protos/timeline.rb', line 14
def item(...) = render Item.new(...)
|
#left ⇒ Object
16
|
# File 'lib/protos/timeline.rb', line 16
def left(...) = render Left.new(...)
|
#right ⇒ Object
20
|
# File 'lib/protos/timeline.rb', line 20
def right(...) = render Right.new(...)
|
#view_template ⇒ Object
10
11
12
|
# File 'lib/protos/timeline.rb', line 10
def view_template(&)
ul(**attrs, &)
end
|