Class: Concealer::Strategy
- Inherits:
-
Object
- Object
- Concealer::Strategy
- Defined in:
- lib/concealer/strategy.rb
Direct Known Subclasses
All, Allow, Any, Deny, MultiLevel
Defined Under Namespace
Classes: All, Allow, Any, Blacklist, Deny, MultiLevel, Whitelist
Instance Method Summary collapse
Instance Method Details
#allow?(model, method, args) ⇒ Boolean
12 13 14 |
# File 'lib/concealer/strategy.rb', line 12 def allow?(model, method, args) raise "The stragegy must implement #allow?(model, method, args)" end |