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

Attributes included from Registry::Base::InstanceMethods

#registered

Instance Method Summary collapse

Methods included from Registry::Base::InstanceMethods

#[], #clean!, #default!, #register, #registered?, #reset!, #types, #types=, #valid?

Instance Method Details

#availableObject



12
13
14
# File 'lib/cantango/config/ability/modes/execution.rb', line 12

def available
  [:cache, :no_cache]
end

#defaultObject



8
9
10
# File 'lib/cantango/config/ability/modes/execution.rb', line 8

def default
  @default ||= [:no_cache]
end