diff options
author | Steve Kemp <steve@steve.org.uk> | 2013-05-15 14:09:35 +0100 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2013-05-15 14:09:35 +0100 |
commit | 06b787d93b08a917cb1ec66bb573108dc6e0de43 (patch) | |
tree | 2c4160150d256f54f09d946e35dbde913bd66d0a /lib/custodian/alerts | |
parent | d3f113e0defb990bdaff81900e991f2e8036166f (diff) |
Updated comment so they match the functionality of the code.
Diffstat (limited to 'lib/custodian/alerts')
-rw-r--r-- | lib/custodian/alerts/file.rb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/custodian/alerts/file.rb b/lib/custodian/alerts/file.rb index 13e74cb..cc2a672 100644 --- a/lib/custodian/alerts/file.rb +++ b/lib/custodian/alerts/file.rb @@ -2,7 +2,9 @@ # -# The SMTP-alerter. +# The file-alerter. +# +# This alert just writes events to a flat-file. # module Custodian @@ -16,7 +18,6 @@ module Custodian attr_reader :test - # # Constructor - save the test-object away. # @@ -34,9 +35,14 @@ module Custodian end + # + # Record the duration of the given test. + # def duration( seconds ) - puts "XXX: #{seconds}" + write_message( "#{test.get_type}-test against #{test.target} took #{seconds}ms to complete" ) end + + # # Record a clear event for the given test. # |