Sha256: ca414ce18aabc5b3ece40e4789fc726a065da66b6d490a52ba34fc168cadfd77
Contents?: true
Size: 582 Bytes
Versions: 2
Compression:
Stored size: 582 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) if params super() end def get_coverage_options o = "#{@coverage_type}" o << ":#{@minimum}" if @minimum o << ":#{@item_type}" if @item_type o end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
albacore-1.0.0 | lib/albacore/ncoverreports/codecoveragebase.rb |
albacore-1.0.0.rc.3 | lib/albacore/ncoverreports/codecoveragebase.rb |