Class: Restrict::Gatekeeper
- Inherits:
-
Object
- Object
- Restrict::Gatekeeper
- Defined in:
- lib/restrict/gatekeeper.rb
Instance Method Summary collapse
Instance Method Details
#eye(controller) ⇒ Object
3 4 5 6 7 |
# File 'lib/restrict/gatekeeper.rb', line 3 def eye(controller) Array(concerning_restrictions(controller)).each do |restriction| handle_restriction(restriction, controller) end end |