diff options
Diffstat (limited to 'templates/default/function_details/html/source.erb')
| -rw-r--r-- | templates/default/function_details/html/source.erb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/default/function_details/html/source.erb b/templates/default/function_details/html/source.erb new file mode 100644 index 0000000..12740cb --- /dev/null +++ b/templates/default/function_details/html/source.erb @@ -0,0 +1,10 @@ +<table class="source_code"> + <tr> + <td> + <pre class="lines"><%= "\n\n\n" %><%= h format_lines(object) %></pre> + </td> + <td> + <pre class="code"><span class="info file"># File '<%= h object.file %>'<% if object.line %>, line <%= object.line %><% end %></span><%= "\n\n" %><%= html_syntax_highlight object.source %></pre> + </td> + </tr> +</table> |
