class Relaton::IETFBib::Processor
Public Class Methods
new()
click to toggle source
# File lib/relaton/processor.rb, line 7 def initialize @short = :rfcbib @prefix = "IETF" @defaultprefix = /^RFC / @idtype = "IETF" end
Public Instance Methods
from_xml(xml)
click to toggle source
# File lib/relaton/processor.rb, line 18 def from_xml(xml) ::IETFBib::XMLParser.from_xml xml end
get(code, date, opts)
click to toggle source
# File lib/relaton/processor.rb, line 14 def get(code, date, opts) ::IETFBib::RfcBibliography.get(code, date, opts) end