Class: TTYString::Code::SlashN

Inherits:
TTYString::Code show all
Defined in:
lib/tty_string/code_definitions.rb

Overview

leftovers:allow

Instance Method Summary collapse

Methods inherited from TTYString::Code

char, descendants, inherited, #initialize, render

Constructor Details

This class inherits a constructor from TTYString::Code

Instance Method Details

#actionObject



32
33
34
35
36
# File 'lib/tty_string/code_definitions.rb', line 32

def action
  cursor.down
  cursor.col = 0
  screen.write('')
end