Implement Task#to_s
This commit is contained in:
@@ -17,6 +17,10 @@ module Producer
|
||||
@condition = condition
|
||||
end
|
||||
|
||||
def to_s
|
||||
name.to_s
|
||||
end
|
||||
|
||||
def condition_met?
|
||||
!!@condition
|
||||
end
|
||||
|
Reference in New Issue
Block a user