Categories: None [Edit]

attr_bool

https://rubygems.org/gems/attr_bool
https://github.com/esotericpig/attr_bool
Finally attr_accessor? & attr_reader? with question marks for booleans/predicates!? To get started, pick one: (1) in your class/module/file, add `using AttrBool::Ref`, or (2) in your class/module, add `extend AttrBool::Ext`, or (3) in your app/script (not library), include `require 'attr_bool/core_ext'`. Now simply use any: [ attr_accessor?, attr_reader?, attr_writer?, attr_bool, attr_bool?, attr_bool! ]. Keywords: attr, attribute, attributes, bool, boolean, booleans, predicate, predicates

Total

Ranking: 91,626 of 187,239
Downloads: 8,978

Daily

Ranking: 66,833 of 187,224
Downloads: 5

Depended by

RankDownloadsName
41,05528,499nhkore
119,2375,584ssc.bot
140,1834,133ssc.nob

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconesotericpig