wannabe_bool
If string, numeric, symbol and nil values wanna be a boolean value, they can with the new #to_b method (and more).
- Category
- Ruby gems
gem install wannabe_bool Official docs outline
rubydoc.infoExtra Credit builds an outline of wannabe_bool's docs the first time your work uses it. Until then, start at the official documentation.
More in Ruby gems
All 3,925-
json_matchers Validate your Rails JSON API's JSON
-
rspec-wait RSpec::Wait enables time-resilient expectations in your RSpec test suite.
-
lookbook Lookbook is a UI development environment for Ruby on Rails applications
-
numbers_and_words This gem spells out numbers in several languages using the I18n gem.
-
streamio-ffmpeg Wraps ffmpeg to read metadata and transcodes videos.
-
cassandra-driver A pure Ruby driver for Apache Cassandra
-
rails-settings-cached The best solution for store global settings in Rails applications. This gem will managing a table of а global key, value pairs easy. Thin
-
anonymous_loader 🎭 AnonymousLoader resolves Ruby files from paths, gem metadata, or $LOAD_PATH and evaluates them inside anonymous modules to avoid top-level
-
concurrent-ruby-edge These features are under active development and may change frequently. They are expected not to keep backward compatibility (there may also
-
yui-compressor A Ruby interface to YUI Compressor for minifying JavaScript and CSS assets.
-
pundit-matchers A set of RSpec matchers for testing Pundit authorisation policies
-
minima A beautiful, minimal theme for Jekyll.