class Tabulous::SplitRenderer

Public Instance Methods

subtabs_html() click to toggle source

all split renderers need to have a subtabs_html method that returns the HTML to be embedded when the <%= subtabs %> helper method is called

# File lib/tabulous/renderers/split_renderer.rb, line 16
def subtabs_html
  raise "override me"
end

Protected Instance Methods

subtab_list_html() click to toggle source
# File lib/tabulous/renderers/split_renderer.rb, line 22
def subtab_list_html
  html = ''
  for tab in subtabs
    html << tab_html(tab)
  end
  html
end
subtabs() click to toggle source
# File lib/tabulous/renderers/split_renderer.rb, line 30
def subtabs
  @tabset.visible_subtabs(@view)
end