summaryrefslogtreecommitdiff
path: root/lib/custodian/alerts/file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/alerts/file.rb')
-rw-r--r--lib/custodian/alerts/file.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/alerts/file.rb b/lib/custodian/alerts/file.rb
index 5874136..cb04084 100644
--- a/lib/custodian/alerts/file.rb
+++ b/lib/custodian/alerts/file.rb
@@ -55,7 +55,7 @@ module Custodian
# Write the actual message to our target.
#
def write_message( msg )
- file = File.open(@target, "a")
+ file = File.open(@target, 'a')
file.puts( "#{Time.now} #{msg}" )
file.close
@@ -64,7 +64,7 @@ module Custodian
- register_alert_type "file"
+ register_alert_type 'file'