From 4eff6af37e762e17db3546601f70d86a9f526967 Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Tue, 5 Dec 2023 22:05:25 -0800 Subject: [PATCH] Implement old? --- lib/sheap.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/sheap.rb b/lib/sheap.rb index b07f068..42136b9 100644 --- a/lib/sheap.rb +++ b/lib/sheap.rb @@ -163,6 +163,10 @@ def wb_protected? @json.include?('"wb_protected":true') end + def old? + @json.include?('"old":true') + end + def name data["name"] end