lib/ppcurses/Screen.rb in ppcurses-0.0.21 vs lib/ppcurses/Screen.rb in ppcurses-0.0.22

- old
+ new

@@ -1,19 +1,24 @@ +# Curses reference: +# http://www.ruby-doc.org/stdlib-1.9.3/libdoc/curses/rdoc/Curses.html + require 'curses' include Curses module PPCurses # Screen initializes the Curses screen # Pass a code block to the run method to start things - class Screen + # + # noinspection RubyResolve + class Screen # Creates a curses session # # Example: # >> myScreen.run { displayMenu() } # - def run( ) + def run begin init_screen Curses.raw clear curs_set(0) # Makes cursor invisible