Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix code alignment in duplicable? guide.

[skip ci]
  • Loading branch information...
commit 245574ae02216fcf29c93c2a2fe2ca74c00ffc1f 1 parent 42417b0
@htanata htanata authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 guides/source/active_support_core_extensions.md
View
4 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.
Please sign in to comment.
Something went wrong with that request. Please try again.