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 options={}
  path = Tree.construct_path(:all=>1, :slashes=>1)
  options[:string] ? path : path.split(/\/@ ?/)
end