summaryrefslogtreecommitdiffhomepage
path: root/templates/default/header/html/setup.rb
blob: 52eb81cca0616de9171765fe4c85f645970dd275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
include T('default/module')
include YARD::MRuby::Templates::Helpers::HTMLHelper

def init
  sections :header, :pre_docstring, T('docstring'), :includes,
    :function_summary, [:item_summary],
    :function_details_list, [T('function_details')]
end


def function_listing
  return @funcs if @funcs

  @funcs = object.functions
  @funcs
end