Class: Argyle::View::Text

Inherits:
Base
  • Object
show all
Defined in:
lib/argyle/view/text.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Argyle::View::Base

Instance Method Details

#render(window, component) ⇒ Object

Parameters:



4
5
6
# File 'lib/argyle/view/text.rb', line 4

def render(window, component)
  Ncurses.mvwprintw(window, 0, 0, component.value)
end