diff options
| author | Seba Gamboa <[email protected]> | 2015-09-28 18:44:47 -0300 |
|---|---|---|
| committer | Seba Gamboa <[email protected]> | 2015-09-28 18:44:47 -0300 |
| commit | e30672f239c42734b7b72a81c7d64bb809d5b7a2 (patch) | |
| tree | e5ec9301fbe89e4b8157eb54457c1a31532720d4 /templates/default/header/html/setup.rb | |
| parent | 73326c64a5e720f7d31b1e52ef9fda341895e800 (diff) | |
| download | yard-mruby-e30672f239c42734b7b72a81c7d64bb809d5b7a2.tar.gz yard-mruby-e30672f239c42734b7b72a81c7d64bb809d5b7a2.zip | |
Defines template base
Diffstat (limited to 'templates/default/header/html/setup.rb')
| -rw-r--r-- | templates/default/header/html/setup.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/default/header/html/setup.rb b/templates/default/header/html/setup.rb index 52eb81c..7ce1143 100644 --- a/templates/default/header/html/setup.rb +++ b/templates/default/header/html/setup.rb @@ -4,6 +4,7 @@ include YARD::MRuby::Templates::Helpers::HTMLHelper def init sections :header, :pre_docstring, T('docstring'), :includes, :function_summary, [:item_summary], + :define_summary, [T('docstring')], :function_details_list, [T('function_details')] end @@ -15,3 +16,10 @@ def function_listing @funcs end +def define_listing + return @defines if @defines + + @defines = object.defines + puts @defines.inspect + @defines +end |
