RubyGems Navigation menu

attr_bool 0.3.0

Finally attr_accessor? & attr_reader? with question marks for booleans/predicates!? Pick one: (1) in your top module, 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

Gemfile:
=

安装:
=

版本列表:

  1. 0.3.2 August 23, 2025 (13.5 KB)
  2. 0.3.1 June 29, 2025 (13.5 KB)
  3. 0.3.0 June 28, 2025 (13.5 KB)
  4. 0.2.2 June 16, 2021 (7.5 KB)
  5. 0.2.1 November 07, 2020 (8.0 KB)
显示所有版本 (共 7 个)

所有者:

推送者:

作者:

  • Bradley Whited

SHA 256 校验和:

=

下载总量 8,452

这个版本 135

版本发布:

许可:

MIT

需要的 Ruby 版本: >= 3.1

新的版本需要开启多因素验证(MFA): true

使用多因素验证(MFA)发布的版本: true

链接: