lib/cocoa/sugarcube-repl/kernel.rb in sugarcube-2.7.1 vs lib/cocoa/sugarcube-repl/kernel.rb in sugarcube-2.8.0

- old
+ new

@@ -7,9 +7,18 @@ SugarCube::Repl.adjust(*args) end end alias a adjust + def collapse(*args) + if self.nil? + super + else + SugarCube::Repl.collapse(*args) + end + end + alias coll collapse + def tree(*args) if self.nil? super else SugarCube::Repl.tree(*args)