Categories: None [Edit]
coerce_boolean
Adds a default #to_bool method to Object and adds
the CoerceBoolean class to parse boolean like values
Examples:
- CoerceBoolean.from("false") # false
- CoerceBoolean.from("true") # true
- CoerceBoolean.from(1) # true
- CoerceBoolean.from(0) # false
Total
Ranking: 170,125 of 192,692
Downloads: 2,706
Daily
Ranking: 180,995 of 192,666
Downloads: 2
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 120,752 | 5,830 | nacl_password |
| 121,166 | 5,785 | secure_web_token |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 7 | 1,339,865,813 | activesupport |
| 8 | 1,311,002,349 | rake |
| 14 | 1,207,075,832 | minitest |
| 967 | 50,894,457 | minitest-reporters |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | SampsonCrowley |