to_bool
Super-simple gem that extends some Ruby classes with a "to_bool" method, which converts any object naturally into a boolean.
$
gem install to_boolOfficial docs outline
Extra Credit builds an outline of to_bool's docs the first time your work uses it. Until then, start at the official documentation.
More in Ruby gems
All 3,925-
fluent-plugin-mongo MongoDB plugin for Fluentd
-
extlib Support library for Merb
-
site_prism-all_there SitePrism AllThere allows you to recursively query page and section structures on your page - exclusively for use with the SitePrism gem.
-
cldr-plurals-runtime-rb Ruby runtime methods for CLDR plural rules (see camertron/cldr-plurals).
-
fastercsv FasterCSV is intended as a complete replacement to the CSV standard library. It is significantly faster and smaller while still being pure R
-
simplecov-rcov Rcov style formatter for SimpleCov
-
rswag Generate beautiful API documentation, including a UI to explore and test operations, directly from your rspec integration tests. OpenAPI 2 a
-
hangouts-chat Send messages to G Suite Hangouts Chat rooms using incoming webhooks and Net::HTTP::Post
-
gitlab-sdk Client side Ruby SDK for GitLab Application services
-
fastlane-plugin-versioning Allows to set/get app version and build number directly to/from Info.plist
-
securecompare securecompare borrows the secure_compare private method from ActiveSupport::MessageVerifier which lets you do safely compare strings without
-
opentelemetry-instrumentation-delayed_job Delayed Job instrumentation for the OpenTelemetry framework