- Make
static_facade
andmethod_object
take a block for initalization.
- Drop end-of-lifed Ruby 2.5 and 2.6.
- Don't share default value object instances. (We now do a shallow
dup
.) Thanks to sammo1235!
- Fix keyword argument warnings with Ruby 2.7. Thanks to Elliot Winkler!
attr_implement
error says "an 'ear()' method" instead of "a 'ear()' method", when the method starts with a likely vowel.
- Fix warnings with Ruby 2.7. Thanks to Juanito Fatas!
- Fix deprecation warnings for Minitest 6. Thanks again to Juanito Fatas!
- Bugfix with keyword argument defaults. Thanks to Roman Dubrovsky!
- Another bugfix when passing hash values to positional arguments.
- Bugfix when passing hash values to positional arguments.
- Default arguments! Thanks to Ola K. For example:
pattr_initialize [:foo, bar: "default value"]
5.2.0 and earlier
Please see Git history.