Module: Doculab::DocsHelper
- Defined in:
- app/helpers/doculab/docs_helper.rb
Instance Method Summary collapse
Instance Method Details
#doc ⇒ Object
7 8 9 |
# File 'app/helpers/doculab/docs_helper.rb', line 7 def doc @doc end |
#doc_content ⇒ Object
3 4 5 |
# File 'app/helpers/doculab/docs_helper.rb', line 3 def doc_content content_for?(:doc_content) ? yield(:doc_content) : yield end |
#sections ⇒ Object
11 12 13 |
# File 'app/helpers/doculab/docs_helper.rb', line 11 def sections Doculab::TableOfContents.sections end |