1
0
Fork 0
mirror of https://github.com/varvet/pundit.git synced 2022-11-09 12:30:11 -05:00
varvet--pundit/lib
Duncan Stuart f7fc7cb7a9 Scopes have private attr_readers
- Generate application scope with `private` attr readers
- Update documentation to suggest that other scopes should use `private`

There doesn't seem to be a use case for accessing the initialisation
parameters on scopes. In general keeping the public interface of classes
as small as possible can help to keep code decoupled.
2019-11-12 10:27:40 +01:00
..
generators Scopes have private attr_readers 2019-11-12 10:27:40 +01:00
pundit Remove rubocop rule around access modifiers 2019-11-12 10:26:31 +01:00
pundit.rb Remove rubocop rule around access modifiers 2019-11-12 10:26:31 +01:00