Module: CanTango::Ability::CacheHelpers

Includes:
Helpers::RoleMethods
Included in:
CanTango::Ability, Executor
Defined in:
lib/cantango/ability/cache_helpers.rb

Instance Method Summary collapse

Methods included from Helpers::RoleMethods

#config, #has_role_group_meth, #has_role_meth, #role_groups_list_meth, #roles_list_meth

Instance Method Details

#cache(options = {}) ⇒ Object



8
9
10
# File 'lib/cantango/ability/cache_helpers.rb', line 8

def cache options = {}
  @cache ||= CanTango::Ability::Cache.new self, options
end