From: "mame (Yusuke Endoh)" Date: 2012-03-30T02:36:39+09:00 Subject: [ruby-core:43897] [ruby-trunk - Feature #6180][Assigned] to_b for converting objects to a boolean value Issue #6180 has been updated by mame (Yusuke Endoh). Status changed from Open to Assigned Assignee set to matz (Yukihiro Matsumoto) ---------------------------------------- Feature #6180: to_b for converting objects to a boolean value https://bugs.ruby-lang.org/issues/6180#change-25410 Author: AaronLasseigne (Aaron Lasseigne) Status: Assigned Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: Target version: When a boolean return value is required it has become common practice is to use "!!" to convert the object. It would be more consistent to provide a "to_b" method on Object. -- http://bugs.ruby-lang.org/