mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Optional separator between method and basis in toString() method
This commit is contained in:
parent
433396a2b8
commit
e66c042d2a
@ -81,10 +81,10 @@ class method {
|
|||||||
return new method(vals[0], null)
|
return new method(vals[0], null)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
toString() {
|
toString(separator="/") {
|
||||||
var str = this.name;
|
var str = this.name;
|
||||||
if (this.basis) {
|
if (this.basis) {
|
||||||
str = str + '/' + this.basis;
|
str = str + separator + this.basis;
|
||||||
}
|
}
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user