aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_support_core_extensions.md
diff options
context:
space:
mode:
authorEric Turner <ericturnerdev@gmail.com>2015-10-12 14:05:53 +0900
committerEric Turner <ericturnerdev@gmail.com>2015-10-12 14:05:53 +0900
commitdfedaf379531db8b9f91ceef4c9df36e5f1bf7e8 (patch)
tree2a8e31af81f9413c481e25aa9fcde9157aad35f9 /guides/source/active_support_core_extensions.md
parentf50d953ff646b84a1c791a8034cfb4f3789fc8bf (diff)
downloadrails-dfedaf379531db8b9f91ceef4c9df36e5f1bf7e8.tar.gz
rails-dfedaf379531db8b9f91ceef4c9df36e5f1bf7e8.tar.bz2
rails-dfedaf379531db8b9f91ceef4c9df36e5f1bf7e8.zip
[ci skip] Fix typo in deep_dup docs
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 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']