Sha256: 3bfd139a644a36834e40a986b78b66293a732ff4171079cdd9732b5b9798f092

Contents?: true

Size: 308 Bytes

Versions: 4

Compression:

Stored size: 308 Bytes

Contents

module Troles::ActiveRecord
  module Strategy    
    module BaseMany
      # @param [Class] the role subject class for which to include the Role strategy (fx User Account)
      #
      def self.included(base)
        base.send :include, Troles::Strategy::BaseMany        
      end      
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
troles-0.6.0 lib/troles/adapters/active_record/strategy.rb
troles-0.5.2 lib/troles/adapters/active_record/strategy.rb
troles-0.5.1 lib/troles/adapters/active_record/strategy.rb
troles-0.5.0 lib/troles/adapters/active_record/strategy.rb