v0.2.0
Highlights
This is a major departure from the previous version (v0.1.0) by not extending the core (monkey-patching) Module
by default.
Instead, you should update your code to extend AttrBool::Ext
:
require 'attr_bool'
class BananaHammock
extend AttrBool::Ext
attr_reader? :the_todd
end
The above is recommended for shared libraries.
However, if you wish to continue imitating the previous version, simply require the new attr_bool/core_ext
.
This is great for scripts and/or apps, but also important for legacy code that used v0.1.0.
require 'attr_bool/core_ext'
class BananaHammock
attr_reader? :the_todd
end