Sha256: 77e0708ac2d74c56b7481b46ecd8181ed3a5d98a322cc8d1dc6773ef28eb7451
Contents?: true
Size: 570 Bytes
Versions: 1
Compression:
Stored size: 570 Bytes
Contents
require 'albacore/support/albacore_helper' module NCover class ReportFilterBase include YAMLConfig 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 parse_config(params) unless params.nil? super() end def get_filter_options filter = "\"#{@filter}\"" filter << ":#{@item_type}" filter << ":#{@is_regex}" filter << ":#{(@filter_type == :include)}" filter end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
albacore-0.0.9 | lib/albacore/ncoverreports/reportfilterbase.rb |