Sha256: cf43e6ce4f397a41e50f7d595ec02eaac9452d8a28ea41965768eb033a9e4691
Contents?: true
Size: 620 Bytes
Versions: 5
Compression:
Stored size: 620 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
5 entries across 5 versions & 1 rubygems