activate_plugins (Hoe)

    # File lib/hoe.rb, line 286
      def activate_plugins
        names = self.class.constants.map { |s| s.to_s }
        names.reject! { |n| n =~ /^[A-Z_]+$/ }

        names.each do |name|
          next unless Hoe.plugins.include? name.downcase.intern
          warn "extend #{name}" if $DEBUG
          self.extend Hoe.const_get(name)
        end

        Hoe.plugins.each do |plugin|
          msg = "initialize_#{plugin}"
          warn msg if $DEBUG
          send msg if self.respond_to? msg
        end
      end