lib/isodoc/xref/xref_util.rb in isodoc-2.12.0 vs lib/isodoc/xref/xref_util.rb in isodoc-2.12.1
- old
+ new
@@ -4,9 +4,15 @@
n["id"].nil? || n["id"].empty?
end
end
end
+class Object
+ def blank?
+ nil? || empty?
+ end
+end
+
module IsoDoc
module XrefGen
module Blocks
def blank?(text)
text.nil? || text.empty?