RubyGems Navigation menu

attr_bool 0.3.1

Finally attr_accessor? & attr_reader? with question marks for booleans/predicates!? To get started, pick one: (1) in your class/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.1 June 29, 2025 (13.5KB)
  2. 0.3.0 June 28, 2025 (13.5KB)
  3. 0.2.2 June 16, 2021 (7.5KB)
  4. 0.2.1 November 07, 2020 (8KB)
  5. 0.2.0 October 23, 2020 (7.5KB)
全てのバージョンを表示(全6件)

所有者:

プッシュ者:

作者:

  • Bradley Whited

SHA 256チェックサム:

=

累計ダウンロード数 8,178

このバージョンのみ 144

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 3.1

新しいバージョンはMFAを必要とします: true

MFAで投稿されたバージョン: true

リンク: