Add or Update a stored path in the places object
.add(self, private, ...)
| self | places self object |
|---|---|
| private | places private object |
| … | named elements to store |
places @importFrom stats setNames
paths <- places$new() paths#> $root #> [1] "/Users/yonis/projects/places" #> #> $paths #> list() #>paths$add(back = '..',this='.') paths#> $root #> [1] "/Users/yonis/projects/places" #> #> $paths #> $paths$back #> [1] "/Users/yonis/projects" #> #> $paths$this #> [1] "/Users/yonis/projects/places" #> #>paths$names()#> [1] "back" "this"