vendor/plugins/aaa/init.rb
# add any class mixins that have been registered for this class
add any class mixins that have been registered for this class
add any class mixins that have been registered for this class
def auto_include!
    if mixins = @@class_mixins[name]
      mixins.each do |name, aliases| 
        include name.constantize
        aliases.each { |args| alias_chain *args }
      end
    end
  end
def auto_include! if mixins = @@class_mixins [ name ] mixins . each do | name , aliases | include name . constantize aliases . each { | args | alias_chain * args } end end end
add any class mixins that have been registered for this class
add any class mixins that have been registered for this class