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)`.
Required Ruby Version
>= 3.1.0
Authors
Mateusz Drewniak
Versions
-
0.1.3
-
source
- 0.1.3 source May 27, 2024 (7 KB)
-
-
0.1.2
-
source
- 0.1.2 source May 15, 2024 (7 KB)
-
-
0.1.1
-
source
- 0.1.1 source January 10, 2024 (7 KB)
-
-
0.1.0
-
source
- 0.1.0 source October 20, 2023 (7 KB)
-