Class: Pelusa::Reporter
- Inherits:
-
Object
show all
- Defined in:
- lib/pelusa/reporters/reporter.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
#initialize(filename) ⇒ Reporter
6
7
8
|
# File 'lib/pelusa/reporters/reporter.rb', line 6
def initialize(filename)
@filename = filename
end
|
Class Method Details
.print_banner ⇒ Object
3
4
|
# File 'lib/pelusa/reporters/reporter.rb', line 3
def self.print_banner
end
|
Instance Method Details
#report ⇒ Object
14
15
16
|
# File 'lib/pelusa/reporters/reporter.rb', line 14
def report
raise NotImplementedError
end
|
#reports=(reports) ⇒ Object
10
11
12
|
# File 'lib/pelusa/reporters/reporter.rb', line 10
def reports=(reports)
@reports = reports
end
|
#successful? ⇒ Boolean
18
19
20
|
# File 'lib/pelusa/reporters/reporter.rb', line 18
def successful?
@reports.all? { |report| report.successful? }
end
|