Class: BBMB::Html::View::Navigation

Inherits:
HtmlGrid::DivComposite
  • Object
show all
Defined in:
lib/bbmb/html/view/navigation.rb

Constant Summary collapse

COMPONENTS =
{}
DEFAULT_CLASS =
NavigationLink

Instance Method Summary collapse

Instance Method Details

#build_navigationObject



22
23
24
25
26
# File 'lib/bbmb/html/view/navigation.rb', line 22

def build_navigation
  @lookandfeel.navigation.each_with_index { |event, idx|
    components.store([idx,0], event)
  }
end

#initObject



18
19
20
21
# File 'lib/bbmb/html/view/navigation.rb', line 18

def init
  build_navigation
  super
end