templates/default/onefile/html/files.erb in yard-0.6.8 vs templates/default/onefile/html/files.erb in yard-0.7.0
- old
+ new
@@ -1,5 +1,5 @@
<% @files.each do |file| %>
- <% @file, @contents = file, read_file(file) %>
- <h2><%= file %></h2>
+ <% @file = file %>
+ <h2><%= file.title %></h2>
<%= diskfile %>
<% end %>
\ No newline at end of file