Skip to content

Commit 7b98968

Browse files
committed
100% documentation coverage.
1 parent 46c36c3 commit 7b98968

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

lib/console/capture.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ def initialize
1818
# @attribute [Array(Hash)] All records captured by this buffer.
1919
attr :records
2020

21-
# @deprecated Use {#records} instead of {#buffer}.
21+
# @deprecated Use {records} instead of {buffer}.
2222
alias buffer records
2323

24+
# @deprecated Use {records} instead of {to_a}.
2425
alias to_a records
2526

2627
# @attribute [Boolean] If true, the buffer will capture verbose messages.

lib/console/output/terminal.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def puts(*lines, prefix: @prefix)
4141
end
4242
end
4343

44+
# Write a line to the buffer.
4445
alias << puts
4546
end
4647

0 commit comments

Comments
 (0)