lib/relaton/processor.rb in nistbib-0.1.5 vs lib/relaton/processor.rb in nistbib-0.1.6

- old
+ new

@@ -9,10 +9,10 @@ @prefix = "NIST" @defaultprefix = %r{^(NIST|NISTGCR|ITL Bulletin|JPCRD|NISTIR|CSRC)[ /]} @idtype = "NIST" end - def get(code, date, opts) + def get(code, date = nil, opts = {}) ::NistBib::NistBibliography.get(code, date, opts) end def from_xml(xml) ::NistBib::XMLParser.from_xml xml