diff options
author | Claudio B. <claudiob@users.noreply.github.com> | 2015-10-11 23:10:46 -0700 |
---|---|---|
committer | Claudio B. <claudiob@users.noreply.github.com> | 2015-10-11 23:10:46 -0700 |
commit | ee2c093210dd51a4f5fb3ed25f2311c713aa222d (patch) | |
tree | 2a8e31af81f9413c481e25aa9fcde9157aad35f9 | |
parent | f50d953ff646b84a1c791a8034cfb4f3789fc8bf (diff) | |
parent | dfedaf379531db8b9f91ceef4c9df36e5f1bf7e8 (diff) | |
download | rails-ee2c093210dd51a4f5fb3ed25f2311c713aa222d.tar.gz rails-ee2c093210dd51a4f5fb3ed25f2311c713aa222d.tar.bz2 rails-ee2c093210dd51a4f5fb3ed25f2311c713aa222d.zip |
Merge pull request #21934 from etdev/docs/deep-dup-typo
[ci skip] Fix typo in deep_dup docs
-rw-r--r-- | guides/source/active_support_core_extensions.md | 2 |
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 367a1bf7c0..5a68f6c869 100644 --- a/guides/source/active_support_core_extensions.md +++ b/guides/source/active_support_core_extensions.md @@ -172,7 +172,7 @@ NOTE: Defined in `active_support/core_ext/object/duplicable.rb`. ### `deep_dup` -The `deep_dup` method returns deep copy of a given object. Normally, when you `dup` an object that contains other objects, Ruby does not `dup` them, so it creates a shallow copy of the object. If you have an array with a string, for example, it will look like this: +The `deep_dup` method returns a deep copy of a given object. Normally, when you `dup` an object that contains other objects, Ruby does not `dup` them, so it creates a shallow copy of the object. If you have an array with a string, for example, it will look like this: ```ruby array = ['string'] |