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
Activity
- Latest release
- 1y ago
- Total releases
- 7
- Cadence
- ~4 months
- Last 12 months
- 0
Reach
- Stars
- —
Details
- License
- MIT
- First release
- Apr 19, 2020
Releases
| Version | Released | |
|---|---|---|
0.3.2
patch
| ||
0.3.1
patch
| ||
0.3.0
minor
| ||
0.2.2
patch
| ||
0.2.1
patch
| ||
0.2.0
minor
| ||
0.1.0
initial
|