lib/docparser/output/nil_output.rb in docparser-0.2.3 vs lib/docparser/output/nil_output.rb in docparser-0.3.0
- old
+ new
@@ -1,20 +1,19 @@
+# frozen_string_literal: true
+
module DocParser
# This Output is used for testing purposes.
# @see Output
# @!visibility private
class NilOutput < Output
def initialize
@rowcount = 0
end
- def close
- end
+ def close; end
- def write_row(*)
- end
+ def write_row(*); end
- def add_row(*)
- end
+ def add_row(*); end
end
end