lib/vedeu/cursors/cursor.rb in vedeu-0.8.20 vs lib/vedeu/cursors/cursor.rb in vedeu-0.8.21
- old
+ new
@@ -154,10 +154,10 @@
# Returns an escape sequence to position the cursor and set its
# visibility. When passed a block, will position the cursor,
# yield and return the original position.
#
- # @param block [Proc]
+ # @macro param_block
# @return [String]
def to_s(&block)
return escape_sequence.to_s unless block_given?
"#{position}#{yield}#{escape_sequence}"