RubyGems Navigation menu

attr_bool 0.2.2

Finally attr_accessor & attr_reader with question marks for booleans!? Simply use: attr_accessor?, attr_reader?, attr_bool, attr_bool?. Default values can also be passed in as the last argument or with the 'default: ' keyword argument. In a Module/Class, extend 'AttrBool::Ext', or in the file, require 'attr_bool/core_ext'.

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)

Development 相依性套件 (6):

bundler ~> 2.2
minitest ~> 5.14
rake ~> 13.0
rdoc ~> 6.3
redcarpet ~> 3.5
yard ~> 0.9

擁有者:

推送者:

作者:

  • Jonathan Bradley Whited

SHA 256 總和檢查碼:

=

總下載次數 9,163

這個版本 2,731

版本发布:

授權:

MIT

Ruby 版本需求: >= 2.4

新版本需要 MFA: true

相關連結: