Module | Premailer::Adapter |
In: |
lib/premailer/adapter/nokogiri.rb
lib/premailer/adapter/hpricot.rb lib/premailer/adapter.rb |
REQUIREMENT_MAP | = | [ ["hpricot", :hpricot], ["nokogiri", :nokogiri], ] | adapter to required file mapping. |
The default adapter based on what you currently have loaded and installed. First checks to see if any adapters are already loaded, then checks to see which are installed if none are loaded. @raise [RuntimeError] unless suitable adapter found.