lib/signore/signature.rb in signore-0.5.0 vs lib/signore/signature.rb in signore-0.6.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
require 'lovely_rufus'
module Signore
- Signature = Struct.new(*%i(text author source subject tags)) do
+ Signature = Struct.new(:text, :author, :source, :subject, :tags) do
def initialize(author: '', source: '', subject: '', tags: [], text: '')
super text, author, source, subject, tags
end
def empty?