lib/lapidarius/tree.rb in lapidarius-3.3.0 vs lib/lapidarius/tree.rb in lapidarius-3.4.0
- old
+ new
@@ -8,10 +8,10 @@
def initialize(gem)
@gem = gem
@out = []
end
- def out
+ def to_s
return @out unless @out.empty?
@out.tap do |out|
out << @gem
recurse
out << ""