lib/ppcurses/Screen.rb in ppcurses-0.0.8 vs lib/ppcurses/Screen.rb in ppcurses-0.0.9

- old
+ new

@@ -1,10 +1,18 @@ require "curses" include Curses module PPCurses + + # Screen initializes the Curses screen + # Pass a code block to the run method to start things class Screen + # Creates a curses session + # + # Example: + # >> myScreen.run { displayMenu() } + # def run( ) begin init_screen Curses.raw clear