./lib/dolt/view/smart_blob_renderer.rb in dolt-0.2.2 vs ./lib/dolt/view/smart_blob_renderer.rb in dolt-0.3.0
- old
+ new
@@ -22,10 +22,10 @@
module View
module SmartBlobRenderer
include Dolt::View::Markup
include Dolt::View::SyntaxHighlight
- def format_blob(path, content, options = {})
+ def format_text_blob(path, content, repo = nil, ref = nil, options = {})
return render_markup(path, content) if supported_markup_format?(path)
highlight_multiline(path, content, options)
end
end
end