class Relaton::NistBib::Processor
Public Class Methods
new()
click to toggle source
# File lib/relaton/processor.rb, line 7 def initialize @short = :nistbib @prefix = "NIST" @defaultprefix = %r{^(NIST|NISTGCR|ITL Bulletin|JPCRD|NISTIR|CSRC)[ /]} @idtype = "NIST" end
Public Instance Methods
from_xml(xml)
click to toggle source
# File lib/relaton/processor.rb, line 18 def from_xml(xml) ::NistBib::XMLParser.from_xml xml end
get(code, date = nil, opts = {})
click to toggle source
# File lib/relaton/processor.rb, line 14 def get(code, date = nil, opts = {}) ::NistBib::NistBibliography.get(code, date, opts) end