Store tokens and drop tokens separately
This commit is contained in:
1 parent
6f1ce32775
commit
f37801ec9e
8 files changed
+42
-36
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user