Sha256: 3dbadb692358e65559ca24dc1e49d1eae83160ba343e31387660fcbdc6199a79
Contents?: true
Size: 437 Bytes
Versions: 7
Compression:
Stored size: 437 Bytes
Contents
require 'erb' $LOAD_PATH.unshift File.expand_path('../../../lib', __dir__) template_path = File.expand_path("template.erb", __dir__) ENV['COVERAGE'] ||= 'PartialSummary' require 'covered/policy/default' $covered.enable template = ERB.new(File.read(template_path)).tap do |template| template.filename = template_path end @items = ["Cats", "Dogs", "Chickens"] puts template.result(binding) $covered.disable $covered.call($stdout)
Version data entries
7 entries across 7 versions & 1 rubygems