Sha256: 2988cc9cb8970043d3a9df84711908d2a7c275585f07dbc82dd8457e53788005
Contents?: true
Size: 339 Bytes
Versions: 10
Compression:
Stored size: 339 Bytes
Contents
# -*- encoding: utf-8 -*- module Coco # I write the index.html class HtmlIndexWriter def initialize index @index = index @dir = HtmlDirectory.new.coverage_dir end def write if File.exist?(@dir) FileWriter.write File.join(@dir, 'index.html'), @index end end end end
Version data entries
10 entries across 10 versions & 1 rubygems