Categories: None [Edit]

coerce_boolean

https://rubygems.org/gems/coerce_boolean
https://github.com/SampsonCrowley/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: 169,341 of 183,501
Downloads: 2,181

Daily

Ranking: 57,499 of 183,494
Downloads: 1

Depended by

RankDownloadsName
122,5234,824secure_web_token
128,1364,462nacl_password

Depends on

RankDownloadsName
71,005,549,835activesupport
10970,092,883rake
19911,151,013minitest
1,00137,595,487minitest-reporters

Owners

#GravatarHandle
1iconSampsonCrowley