Sha256: 152fef89667473b357b0213501b8a38fc3db3a393e211252a41c004aca30751a
Contents?: true
Size: 767 Bytes
Versions: 5
Compression:
Stored size: 767 Bytes
Contents
# A "combined" renderer is one that renders subtab HTML directly inside the # HTML list of tabs, rather than two separate HTML lists for tabs and subtabs. # # This class is meant to be subclassed. It encapsulates the code # common to all combined renderers so that it doesn't have to be recoded # everytime. module Tabulous class CombinedRenderer < BaseRenderer 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 end end
Version data entries
5 entries across 5 versions & 1 rubygems