Store tokens and drop tokens separately

This commit is contained in:
josh committed 2022-06-05 14:36:19 -04:00
1 parent 6f1ce32775
commit f37801ec9e
8 files changed
+42 -36

No files matched your search

+8
View File
@@ -48,6 +48,14 @@ class Propane
@name.upcase
end
# Whether the token is a drop token.
#
# @return [Boolean]
# Whether the token is a drop token.
def drop?
@name.nil?
end
def to_s
@name
end