diff options
author | Kazuhiro NISHIYAMA <[email protected]> | 2020-12-10 21:04:57 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <[email protected]> | 2020-12-10 21:06:10 +0900 |
commit | d5dfc3f2c833d62e4e0fb3145ed729f48b8e2a66 (patch) | |
tree | 0a50f8b82d608fef8172c65b3315d8a06189b535 /lib/rdoc/servlet.rb | |
parent | 78f188524f551c97b1a7a44ae13514729f1a21c7 (diff) |
Use `abort(message)` instead of `puts` and `exit`
Diffstat (limited to 'lib/rdoc/servlet.rb')
-rw-r--r-- | lib/rdoc/servlet.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rdoc/servlet.rb b/lib/rdoc/servlet.rb index bead186b00..0ab1eaf19d 100644 --- a/lib/rdoc/servlet.rb +++ b/lib/rdoc/servlet.rb @@ -7,8 +7,7 @@ require 'json' begin require 'webrick' rescue LoadError - puts "webrick is not found. You may need to `gem install webrick` to install webrick." - exit + abort "webrick is not found. You may need to `gem install webrick` to install webrick." end ## |