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,104 of 193,649
Downloads: 2,750
Daily
Ranking: 48,416 of 193,618
Downloads: 2
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 120,714 | 5,904 | nacl_password |
| 121,288 | 5,840 | secure_web_token |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 7 | 1,367,119,287 | activesupport |
| 8 | 1,345,057,418 | rake |
| 14 | 1,235,435,274 | minitest |
| 959 | 52,297,453 | minitest-reporters |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | SampsonCrowley |