templates/default/layout/html/setup.rb in yard-0.5.5 vs templates/default/layout/html/setup.rb in yard-0.5.6
- old
+ new
@@ -1,9 +1,9 @@
def init
@breadcrumb = []
if @file
- @contents = File.read_binary(@file)
+ @contents = File.read(@file)
@file = File.basename(@file)
@fname = @file.gsub(/\.[^.]+$/, '')
@breadcrumb_title = "File: " + @fname
@page_title ||= @breadcrumb_title
sections :layout, [:diskfile]
\ No newline at end of file