lib/app: make App::setup public
authorJean Privat <jean@pryen.org>
Fri, 13 Jun 2014 00:55:59 +0000 (20:55 -0400)
committerJean Privat <jean@pryen.org>
Fri, 13 Jun 2014 00:57:07 +0000 (20:57 -0400)
So clients can call it if they do not want to rely on the default main
method

Signed-off-by: Jean Privat <jean@pryen.org>

lib/app.nit

index 3e2d737..7ee9493 100644 (file)
@@ -29,7 +29,7 @@ class App
 
        # Starts the internal setup of graphical and other stuff
        # Is called just before run
-       protected fun setup do end
+       fun setup do end
 
        # Main entry point of your application
        fun run do end