class TP::Renderer
Attributes
text[R]
Public Class Methods
new(text)
click to toggle source
# File lib/tp/renderer.rb, line 5 def initialize(text) @text = text end
Public Instance Methods
render()
click to toggle source
# File lib/tp/renderer.rb, line 9 def render Screen.clear! return unless text Screen.print text Screen.hide_cursor true end