Method: TTYString::Cursor#down
- Defined in:
- lib/tty_string/cursor.rb
#down(count = 1) ⇒ Object
37 38 39 40 41 42 |
# File 'lib/tty_string/cursor.rb', line 37 def down(count = 1) count = count.to_i raise ArgumentError unless count >= 0 self.row += count end |