General

Profile

prodis (Fernando Hamasaki de Amorim)

  • Login: prodis
  • Email: prodis@gmail.com
  • Registered on: 12/19/2015
  • Last sign in: 10/27/2016

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

10/27/2016

11:17 PM Ruby master Feature #12012: Add Boolean method
You can use **`wannabe_bool`** gem: https://github.com/prodis/wannabe_bool prodis (Fernando Hamasaki de Amorim)
11:14 PM Ruby master Feature #11848: New #to_b method for String, Symbol, Numeric, NilClass, TrueClass and FalseClass.
Andrew Vit wrote:
> I've had to do this in a few places over the years myself:
>
> ~~~
> TRUTHY_VALUES = [true, ...
prodis (Fernando Hamasaki de Amorim)

12/20/2015

02:18 PM Ruby master Feature #11848: New #to_b method for String, Symbol, Numeric, NilClass, TrueClass and FalseClass.
The idea of ***to_b*** method is inspired in Rails and Swift:
* ActiveRecord::Type:Boolean in Rails:
https://gith...
prodis (Fernando Hamasaki de Amorim)

12/19/2015

05:06 PM Ruby master Feature #11848 (Rejected): New #to_b method for String, Symbol, Numeric, NilClass, TrueClass and FalseClass.
New ***to_b*** method converts **strings**, **symbols**, **numbers** and **nil** values in a **boolean** value.
**...
prodis (Fernando Hamasaki de Amorim)

Also available in: Atom