lib/ttytest/capture.rb in ttytest2-0.9.6 vs lib/ttytest/capture.rb in ttytest2-0.9.7
- old
+ new
@@ -49,13 +49,10 @@
end
def print
puts "\n#{self}"
end
-
- def print_rows
- puts rows
- end
+ alias print_rows print
# @return [String] All rows of the captured terminal, separated by newlines
def to_s
rows.join("\n")
end