lib/docparser/output/screen_output.rb in docparser-0.1.4 vs lib/docparser/output/screen_output.rb in docparser-0.1.6
- old
+ new
@@ -1,11 +1,12 @@
require 'terminal-table'
require 'pageme'
module DocParser
# This Output can be used for debugging purposes.
- # It pipes all rows through a pager
+ # This output sends the results directly to the terminal and pipes all rows
+ # through a pager
# @see Output
class ScreenOutput < Output
# @!visibility private
include PageMe
@@ -31,6 +32,6 @@
out << [@header[counter], row[counter]]
end
@tables << Terminal::Table.new(rows: out)
end
end
-end
\ No newline at end of file
+end