RubyFlow The Ruby and Rails community linklog

Wannabe Bool gem updated

If string, numeric, symbol and nil values wanna be a boolean value, they can with the new to_b method.
For sake of readability (and personal choice), version 0.7.0 adds two aliases methods:

  • to_bool
  • to_boolean

https://github.com/prodis/wannabe_bool

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in