module UserAgent::Browsers

def self.all

def self.all
  [Edge, InternetExplorer, Opera, Chrome, ITunes, PlayStation, PodcastAddict, Webkit, Gecko,
   WindowsMediaPlayer, AppleCoreMedia, Libavformat]
end

def self.extend(array)

def self.extend(array)
  all.each do |extension|
    return extension.new(array) if extension.extend?(array)
  end
  array
end