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.2.2 - June 16, 2021 (7.5 KB)
  2. 0.2.1 - November 07, 2020 (8.0 KB)
  3. 0.2.0 - October 23, 2020 (7.5 KB)
  4. 0.1.0 - April 19, 2020 (8.0 KB)

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 校验和:

b8f087b55213c257c9edd78c0276c4a674d373cbd95463503e013b67024a615e

下载总量 7,057

这个版本 2,208

许可:

MIT

需要的 Ruby 版本: >= 2.4

链接: