Overview of <%= @current_file %>
<% unless @overview.nil? %>
<% unless @overview.summary.nil? %>
<%= @overview.summary %>
<% end %>
<% @overview.description.each do |paragraph| %>
<%= paragraph %>
<% end %>
<% if @overview.signed %>
Signed
This library contains a signature, indicating that it is permitted to
call trusted builtin functions.
The signature on this library has not been checked, so
there is no guarantee it will run in Nessus.
<% end %>
<% unless @overview.includes.empty? %>
Required Includes
These files must be included by the importing code.
<% @overview.includes.sort.each do |inc| %>
- <%= inc %>
<% end %>
<% end %>
<% end %>
<% unless @includes.empty? %>
Automatic Includes
These files are automatically included by the library.
<% @includes.sort.each do |inc| %>
- <%= inc %>
<% end %>
<% end %>
<% {Public: @globs_pub, Private: @globs_prv}.each do |name, list| %>
<% unless list.empty? %>
<%= name %> Variable Summary
<% if name == :Public %>
Public variables are intended to be accessed by the code that imports
this library.
<% else %>
Private variables are not intended to be accessed by the code that
imports this library. There is no functional difference between private
and public variables, only convention, and they may be accessed as
normal.
<% end %>
Name |
Summary |
<% list.sort.each do |name| %>
<%= name %> |
<%= safe(comment(name, :global), "", :summary) %> |
<% end %>
<% end %>
<% end %>
<% {Public: @funcs_pub, Private: @funcs_prv}.each do |name, list| %>
<% unless list.empty? %>
<%= name %> Function Summary
<% if name == :Public %>
Public functions are intended to be called by the code that imports
this library.
<% else %>
Private functions are not intended to be called by the code that
imports this library. There is no functional difference between private
and public functions, only convention, and they may be called as
normal.
<% end %>
Name |
Summary |
<% list.keys.sort.each do |name| %>
<%= name %> |
<%= safe(comment(name, :function), "", :summary) %> |
<% end %>
<% end %>
<% end %>
<% {Public: @globs_pub, Private: @globs_prv}.each do |name, list| %>
<% unless list.empty? %>
<%= name %> Variable Details
<% list.sort.each do |name| %>
<%= name %>
<% comm = comment(name, :global) %>
<% unless comm.nil? %>
<% unless comm.summary.nil? %>
Summary
<%= comm.summary %>
<% end %>
<% unless comm.description.empty? %>
Description
<% comm.description.each do |para| %>
<%= para %>
<% end %>
<% end %>
<% unless comm.remarks.empty? %>
Remarks
<% comm.remarks.each do |rem| %>
<% end %>
<% end %>
<% unless comm.deprecated.nil? %>
Deprecated
<%= comm.deprecated %>
<% end %>
<% unless comm.nessus.nil? %>
Nessus Version
<%= comm.nessus %>
<% end %>
<% unless comm.categories.empty? %>
Categories
<% comm.categories.sort.each do |cat| %>
- <%= cat %>
<% end %>
<% end %>
<% end %>
top
<% end %>
<% end %>
<% end %>
<% {Public: @funcs_pub, Private: @funcs_prv}.each do |name, list| %>
<% unless list.empty? %>
<%= name %> Function Details
<% list.keys.sort.each do |name| %>
<%= name %>
<% comm = comment(name, :function) %>
<% unless comm.nil? %>
<% unless comm.summary.nil? %>
Summary
<%= comm.summary %>
<% end %>
<% unless comm.description.empty? %>
Description
<% comm.description.each do |para| %>
<%= para %>
<% end %>
<% end %>
<% unless comm.remarks.empty? %>
Remarks
<% comm.remarks.each do |rem| %>
<% end %>
<% end %>
<% unless comm.deprecated.nil? %>
Deprecated
<%= comm.deprecated %>
<% end %>
<% unless comm.nessus.nil? %>
Nessus Version
<%= comm.nessus %>
<% end %>
<% unless comm.categories.empty? %>
Categories
<% comm.categories.sort.each do |cat| %>
- <%= cat %>
<% end %>
<% end %>
<% unless comm.anonparams.empty? %>
Anonymous Parameters
<% comm.anonparams.sort.each do |name, block| %>
- <%= name %>
- <%= block %>
<% end %>
<% end %>
<% end %>
<% unless @functions[name].nil? || @functions[name].empty? %>
Named Parameters
<% @functions[name].sort.each do |name| %>
- <%= name %>
<% unless comm.nil? || !comm.params.has_key?(name) %>
- <%= comm.params[name] %>
<% end %>
<% end %>
<% end %>
<% unless comm.nil? || comm.return.nil? %>
Return Value
<%= comm.return %>
<% end %>
top
<% end %>
<% end %>
<% end %>