Class: CanTango::Config::Ability::Modes::Execution
- Inherits:
-
Registry::Base
show all
- Includes:
- Singleton
- Defined in:
- lib/cantango/config/ability/modes/execution.rb
Instance Attribute Summary
#registered
Instance Method Summary
collapse
#[], #clean!, #default!, #register, #registered?, #reset!, #types, #types=, #valid?
Instance Method Details
#available ⇒ Object
12
13
14
|
# File 'lib/cantango/config/ability/modes/execution.rb', line 12
def available
[:cache, :no_cache]
end
|
#default ⇒ Object
8
9
10
|
# File 'lib/cantango/config/ability/modes/execution.rb', line 8
def default
@default ||= [:no_cache]
end
|