Class: Protos::Timeline

Inherits:
Component
  • Object
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

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#centerObject



18
# File 'lib/protos/timeline.rb', line 18

def center(...) = render Center.new(...)

#itemObject



14
# File 'lib/protos/timeline.rb', line 14

def item(...) = render Item.new(...)

#leftObject



16
# File 'lib/protos/timeline.rb', line 16

def left(...) = render Left.new(...)

#rightObject



20
# File 'lib/protos/timeline.rb', line 20

def right(...) = render Right.new(...)

#view_templateObject



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

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