Method: TTYString::Cursor#initialize
- Defined in:
- lib/tty_string/cursor.rb
#initialize(row = 0, col = 0) ⇒ Cursor
Returns a new instance of Cursor.
8 9 10 11 |
# File 'lib/tty_string/cursor.rb', line 8 def initialize(row = 0, col = 0) @row = row @col = col end |