wannabe_bool

Boolifier

Converts various string and numeric values to boolean equivalents

If string, numeric, symbol and nil values wanna be a boolean value, they can with the new #to_b method (and more).

GitHub

160 stars
6 watching
14 forks
Language: Ruby
last commit: about 4 years ago
Linked from 1 awesome list

booleanconversionpredicate-methodsprodisrubywannabe-bool

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
grosser/bitfields A Ruby library that enables efficient storage and querying of multiple boolean values in a single integer 223
joshcheek/seeing_is_believing An editor extensibility tool for evaluating and recording the results of each line of Ruby code 1,310
ms-ati/docile Simplifies the creation of Domain Specific Languages (DSLs) in Ruby by providing a way to treat methods as a DSL and handle code extraction with local variable access 419
mbj/unparser Converts Ruby Abstract Syntax Tree (AST) to semantically equivalent source code 309
bits-and-blooms/bitset A Go package implementing bitsets as a mapping between non-negative integers and boolean values 1,346
inputsh/cyrillizer A Ruby library for converting characters between Latin and Cyrillic scripts. 0
aiq/basexx A Lua library for converting between various binary data formats 85
danielsdeleo/decider A flexible and extensible machine learning library for Ruby 385
bluemix/numbertoarabicwords Converts Arabic numbers to written words in a human-readable format. 53
battlebrisket/finishing_moves Methods to simplify Ruby development by adding utility functions to core classes. 204
deivid-rodriguez/pry-byebug Enables step-by-step debugging and stack navigation in the Ruby REPL 2,004
bcrypt-ruby/bcrypt-ruby A Ruby binding for the OpenBSD bcrypt() password hashing algorithm 1,928
oasic/nbayes A Ruby implementation of Naive Bayes for probability estimation and classification tasks 153
reddavis/naive-bayes A simple implementation of a Naive Bayes classifier for text classification tasks 49
cch123/elastic-rs Converts bool expressions to Elasticsearch's DSL syntax 50