Module: CanTango::Ability::Executor::Modal::ClassMethods

Included in:
CanTango::Ability::Executor::Modal
Defined in:
lib/cantango/ability/executor/modal.rb

Instance Method Summary collapse

Instance Method Details

#build(candidate, modes, options = {}) ⇒ Object



10
11
12
# File 'lib/cantango/ability/executor/modal.rb', line 10

def build candidate, modes, options = {}
  new build_ability(candidate, options), modes, options
end