lib/trac-wiki/tree.rb in trac-wiki-0.3.42 vs lib/trac-wiki/tree.rb in trac-wiki-0.3.43
- old
+ new
@@ -27,9 +27,10 @@
def add(cont)
@cont << cont
end
end
class Tree
+ attr_accessor :cur
def initialize
@root = Node.new(nil)
@cur = @root
end