module CMSScanner::Formatter::Buffer
Module used to output the rendered views into a buffer and beautify it a the end of the scan
Public Instance Methods
Source
# File lib/cms_scanner/formatter/buffer.rb, line 8 def output(tpl, vars = {}, controller_name = nil) buffer << render(tpl, vars, controller_name).encode('UTF-8', invalid: :replace, undef: :replace) end