Sha256: 2828e8ae1a09100baf6780f0631e94dea98ca69ea155f87afb8876f8f68e3de8
Contents?: true
Size: 630 Bytes
Versions: 2
Compression:
Stored size: 630 Bytes
Contents
require 'albacore/support/updateattributes' module NCover class ReportFilterBase include UpdateAttributes attr_accessor :filter, :filter_type, :item_type, :is_regex def initialize(item_type, params={}) @filter = "" @item_type = item_type @is_regex = false @filter_type = :exclude update_attributes(params) if params super() end def get_filter_options f = "\"#{@filter}\"" f << ":#{@item_type}" f << ":#{@is_regex}" f << ":#{@filter_type == :include}" f end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
albacore-1.0.0 | lib/albacore/ncoverreports/reportfilterbase.rb |
albacore-1.0.0.rc.3 | lib/albacore/ncoverreports/reportfilterbase.rb |