Sha256: 349ff46b53a3d00d83fbccc01427eb3edb90f9e9a75405f53c8900a77d196bd6
Contents?: true
Size: 595 Bytes
Versions: 11
Compression:
Stored size: 595 Bytes
Contents
require 'albacore/support/updateattributes' module NCover class CodeCoverageBase include UpdateAttributes attr_accessor :coverage_type, :minimum, :item_type def initialize(coverage_type, params={}) @coverage_type = coverage_type @minimum = 0 @item_type = :View update_attributes(params) unless params.nil? super() end def get_coverage_options options = "#{@coverage_type}" options << ":#{@minimum}" unless @minimum.nil? options << ":#{@item_type}" unless @item_type.nil? options end end end
Version data entries
11 entries across 11 versions & 1 rubygems