Method: Tree.path
- Defined in:
- lib/xiki/tree.rb
.path(options = {}) ⇒ Object
1713 1714 1715 1716 |
# File 'lib/xiki/tree.rb', line 1713 def self.path ={} path = Tree.construct_path(:all=>1, :slashes=>1) [:string] ? path : path.split(/\/@ ?/) end |