summaryrefslogtreecommitdiff
path: root/lib/custodian/alerts/smtp.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:19:15 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:19:15 +0000
commita22b8e96ead33b0f97ed5243dbad7f7b6cd5135d (patch)
tree3fe30365cc9d793c752653a59614b52009ef9336 /lib/custodian/alerts/smtp.rb
parent7782df6020704f51ee2d6194d8d3b74f28a53401 (diff)
Prefer single-quotes when you don't need interpolation.
So "foo" is less good than 'foo'.
Diffstat (limited to 'lib/custodian/alerts/smtp.rb')
-rw-r--r--lib/custodian/alerts/smtp.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/alerts/smtp.rb b/lib/custodian/alerts/smtp.rb
index e418031..38ef29e 100644
--- a/lib/custodian/alerts/smtp.rb
+++ b/lib/custodian/alerts/smtp.rb
@@ -62,14 +62,14 @@ Subject: #{subject}
#{body}
END_OF_MESSAGE
- Net::SMTP.start("127.0.0.1") do |smtp|
+ Net::SMTP.start('127.0.0.1') do |smtp|
smtp.send_message( msg, to, to)
end
end
- register_alert_type "smtp"
+ register_alert_type 'smtp'