aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorHendy Tanata <htanata@gmail.com>2014-02-27 19:39:17 -0800
committerHendy Tanata <htanata@gmail.com>2014-02-27 19:55:20 -0800
commit245574ae02216fcf29c93c2a2fe2ca74c00ffc1f (patch)
treea8722ee12737e6a2f433d9dc985cf714a70ab37b /guides
parent42417b0013819e573be9ffc5402e179003156e8e (diff)
downloadrails-245574ae02216fcf29c93c2a2fe2ca74c00ffc1f.tar.gz
rails-245574ae02216fcf29c93c2a2fe2ca74c00ffc1f.tar.bz2
rails-245574ae02216fcf29c93c2a2fe2ca74c00ffc1f.zip
Fix code alignment in duplicable? guide.
[skip ci]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_support_core_extensions.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md
index 7e6cda4b26..ad5c9d4466 100644
--- a/guides/source/active_support_core_extensions.md
+++ b/guides/source/active_support_core_extensions.md
@@ -157,9 +157,9 @@ Active Support provides `duplicable?` to programmatically query an object about
```ruby
"foo".duplicable? # => true
-"".duplicable? # => true
+"".duplicable? # => true
0.0.duplicable? # => false
-false.duplicable? # => false
+false.duplicable? # => false
```
By definition all objects are `duplicable?` except `nil`, `false`, `true`, symbols, numbers, class, and module objects.