Sha256: 168053225f870f9854c35af8f68c7b6d2096707311c8f058d84454ef4a772110
Contents?: true
Size: 517 Bytes
Versions: 6
Compression:
Stored size: 517 Bytes
Contents
require 'rubycritic/generators/html/base' module Rubycritic module Generator module Html class CodeIndex < Base TEMPLATE = erb_template('code_index.html.erb') def initialize(analysed_modules) @analysed_modules = analysed_modules end def file_name 'code_index.html' end def render index_body = TEMPLATE.result(get_binding) LAYOUT_TEMPLATE.result(get_binding { index_body }) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems