RubyGems Navigation menu

booleans 0.1.2

This gem adds a new method called `Boolean`, analogous to builtins like `Integer` or `String`, which converts a Ruby value to either `true` or `false` based on its truthiness. It also has optional core extensions that add a `to_bool` method to all Ruby objects and allow you to check if a value is boolean with `val.is_a?(Boolean)`.

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.1.3 - May 27, 2024 (7.0 KB)
  2. 0.1.2 - May 15, 2024 (7.0 KB)
  3. 0.1.1 - January 10, 2024 (7.0 KB)
  4. 0.1.0 - October 20, 2023 (7.0 KB)

Runtime 相依性套件 (1):

擁有者:

推送者:

作者:

  • Mateusz Drewniak

SHA 256 總和檢查碼:

98859da8643de728db609d1293db4cb1eb7f89721304134555c24154e89cea91

總下載次數 3,502

這個版本 254

授權:

MIT

Ruby 版本需求: >= 3.1.0

相關連結: