Module: CanTango::Ability::Builder::ClassMethods

Defined in:
lib/cantango/ability/builder.rb

Instance Method Summary collapse

Instance Method Details

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



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

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