class EndView::Bootstrap::TabPane

Attributes

active[W]

Public Instance Methods

active() click to toggle source
# File lib/end_view/bootstrap/tab_pane.rb, line 23
def active
  @active && 'active'
end
label() click to toggle source
# File lib/end_view/bootstrap/tab_pane.rb, line 19
def label
  @label ||= Inflecto.humanize(id)
end
render() click to toggle source
# File lib/end_view/bootstrap/tab_pane.rb, line 15
def render
  content || content_block.call
end