Categories: None [Edit]
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: 90,222 of 188,317
Downloads: 9,420
Daily
Ranking: 34,383 of 188,299
Downloads: 8
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | esotericpig |