module BibURI
Constants
- VERSION
Public Class Methods
drivers()
click to toggle source
Returns a list of all drivers.
# File lib/biburi.rb, line 12 def self.drivers return BibURI::Driver::drivers end
lookup(id)
click to toggle source
Query all the drivers in the order they are recorded in; return the results for the first driver.
# File lib/biburi.rb, line 19 def self.lookup(id) self.drivers.each do |driver| if driver.supported?(id) then bibtex = driver.lookup(id) return bibtex unless bibtex.nil? end end return nil end