aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_support_core_extensions.md
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2015-04-02 00:26:18 +0900
committeryui-knk <spiketeika@gmail.com>2015-04-02 00:26:18 +0900
commita21a8192aa2adf05cf4e7b8c99774c29ca1e8fbe (patch)
treee89789dcb69227043176440195f4c20798243814 /guides/source/active_support_core_extensions.md
parentdd39c96f592c83a3d22758a5cee67022bb8f4428 (diff)
downloadrails-a21a8192aa2adf05cf4e7b8c99774c29ca1e8fbe.tar.gz
rails-a21a8192aa2adf05cf4e7b8c99774c29ca1e8fbe.tar.bz2
rails-a21a8192aa2adf05cf4e7b8c99774c29ca1e8fbe.zip
[ci skip] Replace `reraised` with `not captured`
Diffstat (limited to 'guides/source/active_support_core_extensions.md')
-rw-r--r--guides/source/active_support_core_extensions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md
index f3d8e05089..5fb577e256 100644
--- a/guides/source/active_support_core_extensions.md
+++ b/guides/source/active_support_core_extensions.md
@@ -475,7 +475,7 @@ The methods `silence_warnings` and `enable_warnings` change the value of `$VERBO
silence_warnings { Object.const_set "RAILS_DEFAULT_LOGGER", logger }
```
-Silencing exceptions is also possible with `suppress`. This method receives an arbitrary number of exception classes. If an exception is raised during the execution of the block and is `kind_of?` any of the arguments, `suppress` captures it and returns silently. Otherwise the exception is reraised:
+Silencing exceptions is also possible with `suppress`. This method receives an arbitrary number of exception classes. If an exception is raised during the execution of the block and is `kind_of?` any of the arguments, `suppress` captures it and returns silently. Otherwise the exception is not captured:
```ruby
# If the user is locked, the increment is lost, no big deal.