Sha256: 6ff53b9b05a58f2f0d3318aabfe20eacd892687f8085e7d0cda1b078eff02ad1

Contents?: true

Size: 348 Bytes

Versions: 56

Compression:

Stored size: 348 Bytes

Contents

module CMSScanner
  module Formatter
    # Module used to output the rendered views into a buffer
    # and beautify it a the end of the scan
    module Buffer
      def output(tpl, vars = {}, controller_name = nil)
        buffer << render(tpl, vars, controller_name)
      end

      def buffer
        @buffer ||= ''
      end
    end
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
cms_scanner-0.0.39.1 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.39.0 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.38.4 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.38.3 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.38.2 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.38.1 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.38.0 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.37.12 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.37.11 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.37.10 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.37.9 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.37.8 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.37.7 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.37.6 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.37.5 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.37.4 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.37.3 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.37.2 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.37.1 lib/cms_scanner/formatter/buffer.rb
cms_scanner-0.0.37 lib/cms_scanner/formatter/buffer.rb