diff options
| author | Seba Gamboa <[email protected]> | 2015-09-25 10:11:59 -0300 |
|---|---|---|
| committer | Seba Gamboa <[email protected]> | 2015-09-25 10:11:59 -0300 |
| commit | 723c2d4bd9575f05b5272a9e2eacb45e1d538af3 (patch) | |
| tree | 3a1f99ea4ff260eca955c63bf8d76bd7589232e5 /templates/default/fulldoc/html/full_list_functions.erb | |
| parent | 5a6d8a0131140873fa1cd37bd3d76b0b06d633ae (diff) | |
| download | yard-mruby-723c2d4bd9575f05b5272a9e2eacb45e1d538af3.tar.gz yard-mruby-723c2d4bd9575f05b5272a9e2eacb45e1d538af3.zip | |
Headers and functions list
Diffstat (limited to 'templates/default/fulldoc/html/full_list_functions.erb')
| -rw-r--r-- | templates/default/fulldoc/html/full_list_functions.erb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/default/fulldoc/html/full_list_functions.erb b/templates/default/fulldoc/html/full_list_functions.erb new file mode 100644 index 0000000..1dca483 --- /dev/null +++ b/templates/default/fulldoc/html/full_list_functions.erb @@ -0,0 +1,10 @@ +<% even_odd = 'odd' %> +<% @items.each do |item| %> + <li class="<%= even_odd %> <%= item.has_tag?(:deprecated) ? 'deprecated' : '' %>"> + <div class="item"> + <%= linkify item, h(item.name(true)) %> + <small><%= item.header.title %></small> + </div> + </li> + <% even_odd = (even_odd == 'even' ? 'odd' : 'even') %> +<% end %> |
