Class: EndView::Bootstrap::Tabpanel

Inherits:
Object
  • Object
show all
Includes:
EndView
Defined in:
lib/end_view/bootstrap/tabpanel.rb

Instance Method Summary collapse

Methods included from EndView

extended, included, new

Instance Method Details

#add_pane(*args, &b) ⇒ Object



16
17
18
# File 'lib/end_view/bootstrap/tabpanel.rb', line 16

def add_pane(*args, &b)
  panes << TabPane.new(*args, &b)
end

#render(*args, &b) ⇒ Object



20
21
22
23
# File 'lib/end_view/bootstrap/tabpanel.rb', line 20

def render(*args, &b)
  set_active_pane
  super(*args, &b)
end