lib/signore/signature.rb in signore-0.4.1 vs lib/signore/signature.rb in signore-0.4.2

- old
+ new

@@ -5,9 +5,10 @@ def initialize(author: nil, source: nil, subject: nil, tags: nil, text: nil) super text, author, source, subject, tags each_pair { |key, value| self[key] = nil if value and value.empty? } end + undef text if defined?(:text) def text self[:text] or '' end def to_h