lib/relaton_iso/document_identifier.rb in relaton-iso-1.18.4 vs lib/relaton_iso/document_identifier.rb in relaton-iso-1.19.0

- old
+ new

@@ -9,10 +9,10 @@ return "#{id_str} (all parts)" end end type == "URN" ? @id.urn.to_s : id_str rescue Pubid::Iso::Errors::NoEditionError => e - Util.warn "WARNING: #{type} identifier can't be generated for #{@id}: #{e.message}" + Util.warn "#{type} identifier can't be generated for `#{@id}`: #{e.message}" end def to_h stringify_values(@id.to_h) if @id.respond_to? :to_h end