rails/rails — pull request #8278 by jjyr (2012-11-20 08:59:40+00:00)
Title: add core_ext boolean?

```ruby
true.boolean? #=> true
false.boolean? #=> true
#Only true or false is boolean.
Object.new.boolean? #=> false
```