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 | 2497ad1390f5a7081ff7d8e740a767cc31295705 (patch) | |
tree | fdc1739b6a4dfa1d65a508bbd6ef3ef22853512a /lib | |
parent | 70572b2cef15ba060564e0a6717dfc612ea6cb47 (diff) |
Updated comment so they match the functionality of the code.
Diffstat (limited to 'lib')
-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. # |