Module: Troles::Adapters::ActiveRecord::Strategy::BaseMany

Defined in:
lib/troles/adapters/active_record/strategy.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Parameters:

  • the (Class)

    role subject class for which to include the Role strategy (fx User Account)



6
7
8
# File 'lib/troles/adapters/active_record/strategy.rb', line 6

def self.included(base)
  base.send :include, Troles::Strategy::BaseMany        
end