Closed bartoszkopinski closed 9 years ago
Thanks for this! Nice addition.
Does it work with hash arguments (pattr_initialize [foo, :bar!]
) as well? Would be nice to document that since the syntax to use for that isn't obvious. A hash inside the array?
Closing this pull request as it's incomplete. Would be a great thing to have if it covers hash arguments and is fully documented.
Adding optional attributes: