mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-24 13:23:40 +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)
|
||||
}
|
||||
}
|
||||
toString() {
|
||||
toString(separator="/") {
|
||||
var str = this.name;
|
||||
if (this.basis) {
|
||||
str = str + '/' + this.basis;
|
||||
str = str + separator + this.basis;
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user