class Yell::Adapters::Collection

def add( type = :file, *args, &block )

def add( type = :file, *args, &block )
  options = [@options, *args].inject(Hash.new) do |h, c|
    h.merge( [String, Pathname].include?(c.class) ? {:filename => c} : c  )
  end
  # remove possible :null adapters
  @collection.shift if @collection.first.instance_of?(Yell::Adapters::Base)
  new_adapter = Yell::Adapters.new(type, options, &block)
  @collection.push(new_adapter)
  new_adapter
end

def close

Other tags:
    Private: -
def close
  @collection.each { |c| c.close }
end

def empty?

def empty?
  @collection.empty?
end

def initialize( options = {} )

def initialize( options = {} )
  @options = options
  @collection = []
end

def write( event )

Other tags:
    Private: -
def write( event )
  @collection.each { |c| c.write(event) }
  true
end