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: almost 6 years ago
Linked from 1 awesome list

booleanconversionpredicate-methodsprodisrubywannabe-bool

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
grosser/bitfieldsA Ruby library that enables efficient storage and querying of multiple boolean values in a single integer223
joshcheek/seeing_is_believingAn editor extensibility tool for evaluating and recording the results of each line of Ruby code1,310
ms-ati/docileSimplifies 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 access418
mbj/unparserConverts Ruby Abstract Syntax Tree (AST) to semantically equivalent source code309
bits-and-blooms/bitsetA Go package implementing bitsets as a mapping between non-negative integers and boolean values1,363
inputsh/cyrillizerA Ruby library for converting characters between Latin and Cyrillic scripts.0
aiq/basexxA Lua library for converting between various binary data formats85
danielsdeleo/deciderA flexible and extensible machine learning library for Ruby385
bluemix/numbertoarabicwordsConverts Arabic numbers to written words in a human-readable format.54
battlebrisket/finishing_movesMethods to simplify Ruby development by adding utility functions to core classes.204
deivid-rodriguez/pry-byebugEnables step-by-step debugging and stack navigation in the Ruby REPL2,011
bcrypt-ruby/bcrypt-rubyA Ruby binding for the OpenBSD bcrypt() password hashing algorithm1,933
oasic/nbayesA Ruby implementation of Naive Bayes for probability estimation and classification tasks153
reddavis/naive-bayesA simple implementation of a Naive Bayes classifier for text classification tasks49
cch123/elastic-rsConverts bool expressions to Elasticsearch's DSL syntax50