diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-23 23:37:14 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-23 23:37:14 +0000 |
commit | 520d789ef5e4fc6d4810fc94624d105879b4c554 (patch) | |
tree | df1f9a6c6fa63526cbbf585255ef2e4d51da991b /lib/custodian/protocoltest/http.rb | |
parent | ffe5fb9eb91894d06e630d89dca8f04d91ea1fdf (diff) |
Return "false" rather than nil. Just for neatness.
Diffstat (limited to 'lib/custodian/protocoltest/http.rb')
-rw-r--r-- | lib/custodian/protocoltest/http.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/protocoltest/http.rb b/lib/custodian/protocoltest/http.rb index 8de768d..475b335 100644 --- a/lib/custodian/protocoltest/http.rb +++ b/lib/custodian/protocoltest/http.rb @@ -131,7 +131,7 @@ module Custodian @content = c.body_str rescue Curl::Err::TimeoutError @error = "Timed out fetching page." - return nil + return false rescue => x @error = "Exception: #{x}" return false @@ -158,7 +158,7 @@ module Custodian end # - # Done? + # All done. # true end |