Class: Tabulous::CombinedRenderer

Inherits:
BaseRenderer show all
Defined in:
lib/tabulous/renderers/combined_renderer.rb

Direct Known Subclasses

BootstrapRenderer

Instance Method Summary collapse

Methods inherited from BaseRenderer

#initialize, #tabs_html

Constructor Details

This class inherits a constructor from Tabulous::BaseRenderer

Instance Method Details

#subtabs_htmlObject



11
12
13
14
15
16
17
18
# File 'lib/tabulous/renderers/combined_renderer.rb', line 11

def subtabs_html
  msg = "You have called the subtabs view helper. "
  msg << "However, the renderer that you've chosen does not support "
  msg << "this view helper, since this renderer renders subtabs when "
  msg << "the tabs helper is called. Simply remove the call to "
  msg << "subtabs to fix this error."
  raise SubtabsHelperNotApplicable, msg
end