lib/nistbib/hit.rb in nistbib-0.1.5 vs lib/nistbib/hit.rb in nistbib-0.1.6
- old
+ new
@@ -35,10 +35,10 @@
"@fullIdentifier=\"#{@fetch&.shortref(nil)}\" "\
"@title=\"#{@hit[:code]}\">"
end
# @return [String]
- def to_xml
- fetch.to_xml
+ def to_xml(**opts)
+ fetch.to_xml **opts
end
end
end