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,329 of 183,127
Downloads: 2,155

Daily

Ranking: 74,510 of 183,106
Downloads: 0

Depended by

RankDownloadsName
122,6524,777secure_web_token
128,4124,416nacl_password

Depends on

RankDownloadsName
7990,071,846activesupport
10954,475,095rake
19895,815,902minitest
99637,069,124minitest-reporters

Owners

#GravatarHandle
1iconSampsonCrowley