lib/gemtext/link.rb in gemtext-1.0.1 vs lib/gemtext/link.rb in gemtext-1.0.2
- old
+ new
@@ -14,7 +14,11 @@
end
def ==(other)
other.class == self.class && other.target == @target && other.description == @description
end
+
+ def deconstruct_keys(*_keys)
+ { **super, target:, description: }
+ end
end
end