Implemented toString for Request
This commit is contained in:
parent
612bd9fc8c
commit
e7c99ebf5e
|
@ -1,5 +1,7 @@
|
|||
module tristanable.request;
|
||||
|
||||
import std.conv : to;
|
||||
|
||||
/**
|
||||
* Request
|
||||
*
|
||||
|
@ -45,4 +47,9 @@ public final class Request
|
|||
{
|
||||
return fulfilled;
|
||||
}
|
||||
|
||||
override public string toString()
|
||||
{
|
||||
return "Request (Tag: " ~ to!(string)(tag) ~ ", Arrived: " ~ to!(string)(fulfilled) ~ ", Used: " ~ to!(string)(isDead);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue