Method: ActionPolicy::PerThreadCache.enabled=
- Defined in:
- lib/action_policy/behaviours/thread_memoized.rb
.enabled=(value) ⇒ Object (writeonly)
Sets the attribute enabled
8 9 10 |
# File 'lib/action_policy/behaviours/thread_memoized.rb', line 8 def enabled=(value) @enabled = value end |