This patch makes it so default values can be derived by private methods as well continuing to support public methods.
In our usage of ShallowAttributes we'd prefer to keep default values as private methods since they have no purpose beyond initailization. We have found you can still test these methods indirectly by testing initialization.
Coverage increased (+0.2%) to 99.51% when pulling 58c64094225f7883034babb9822fdfd850bcf4b1 on fivegoodfriends:private-default-values into 4e8a276bfecd115f3cf1057719e04d7c67dace3b on davydovanton:master.
Hello there,
This patch makes it so default values can be derived by private methods as well continuing to support public methods.
In our usage of ShallowAttributes we'd prefer to keep default values as private methods since they have no purpose beyond initailization. We have found you can still test these methods indirectly by testing initialization.
All feedback welcome.
Cheers, Tate