Sha256: a116d316adcb68b13e67ce99c45f3e05bfd0b5365793eb1c59a7bdd16d304e32
Contents?: true
Size: 441 Bytes
Versions: 4
Compression:
Stored size: 441 Bytes
Contents
module CanTango module Ability module Builder def self.included(base) base.extend ClassMethods end module ClassMethods def build candidate, options = {} self.new build_ability(candidate, options), options end protected def build_ability candidate, options = {} CanTango::Ability::Base.new(candidate, options = {}) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems