Skip to content

Commit

Permalink
Implement old?
Browse files Browse the repository at this point in the history
  • Loading branch information
jhawthorn committed Dec 6, 2023
1 parent 2fe62c2 commit 4eff6af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/sheap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4eff6af

Please sign in to comment.