lib/ttytest/capture.rb in ttytest2-0.8.0 vs lib/ttytest/capture.rb in ttytest2-0.8.1
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module TTYtest
# Represents the complete state of a {TTYtest::Terminal} at the time it was captured (contents, cursor position, etc).
# @attr_reader [Integer] width the number of columns in the captured terminal
# @attr_reader [Integer] height the number of rows in the captured terminal
# @attr_reader [Integer] cursor_x the cursor's column (starting at 0) in the captured terminal