lib/dnote/templates/rdoc/file.erb in dnote-1.6.1 vs lib/dnote/templates/rdoc/file.erb in dnote-1.7.0
- old
+ new
@@ -3,7 +3,8 @@
== file://<%= file %>
<% list.each do |note| %>
* <%= note %> (<%= note.line %>)
+<% if note.code? %><%= "\n" + note.code.tabset(4).rstrip + "\n\n" %><% end %>
<% end; end %>