lib/cocoa/sugarcube-repl/kernel.rb in sugarcube-2.8.2 vs lib/cocoa/sugarcube-repl/kernel.rb in sugarcube-2.9.1
- old
+ new
@@ -16,14 +16,14 @@
SugarCube::Repl.collapse(*args)
end
end
alias coll collapse
- def tree(*args)
+ def tree(*args, &sel_blk)
if self.nil?
super
else
- SugarCube::Repl.tree(*args)
+ SugarCube::Repl.tree(*args, &sel_blk)
end
end
def root(*args)
if self.nil?