mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Better toString().
This commit is contained in:
parent
fded2800b6
commit
26d8da1114
8 changed files with 20 additions and 26 deletions
|
@ -358,11 +358,10 @@ class IncludedFile(val fromOriginal: From, val toOriginal: To, val specs: List<I
|
|||
constructor(specs: List<IFileSpec>) : this(From(""), To(""), specs)
|
||||
public val from: String get() = fromOriginal.path.replace("\\", "/")
|
||||
public val to: String get() = toOriginal.path.replace("\\", "/")
|
||||
override public fun toString() = ToString("IncludedFile",
|
||||
override public fun toString() = toString("IncludedFile",
|
||||
"files", specs.map { it.toString() }.joinToString(", "),
|
||||
"from", from,
|
||||
"to", to)
|
||||
.s
|
||||
}
|
||||
|
||||
interface AttributeHolder {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue