Permalink
Browse files

updated the ncover objects for the yaml fix

  • Loading branch information...
derickbailey committed Dec 30, 2009
1 parent 9488912 commit 568ec0a7b124f2c030d88ac23c7a0bd16cf11cd6
@@ -7,11 +7,11 @@ class CodeCoverageBase
attr_accessor :coverage_type, :minimum, :item_type
def initialize(coverage_type, params={})
- super()
@coverage_type = coverage_type
@minimum = 0
@item_type = :View
parse_config(params) unless params.nil?
+ super()
end
def get_coverage_options
@@ -7,10 +7,10 @@ class CyclomaticComplexity
attr_accessor :maximum, :item_type
def initialize(params={})
- super()
@maximum = 100
@item_type = :View
parse_config(params) unless params.nil?
+ super()
end
def get_coverage_options
@@ -7,12 +7,12 @@ class ReportFilterBase
attr_accessor :filter, :filter_type, :item_type, :is_regex
def initialize(item_type, params={})
- super()
@filter = ""
@item_type = item_type
@is_regex = false
@filter_type = :exclude
parse_config(params) unless params.nil?
+ super()
end
def get_filter_options
@@ -7,8 +7,8 @@ class SummaryReport
attr_accessor :output_path
def initialize
- super()
@report_format = :Xml
+ super()
end
def report_type

0 comments on commit 568ec0a

Please sign in to comment.