Class: NouvellePartieControleur
- Inherits:
-
Controller
- Object
- Controller
- NouvellePartieControleur
- Defined in:
- app/controller/NouvellePartieControleur.rb
Overview
Classe permettant de créer un contrôleur pour la vue FenetreNouvellePartie
Instance Method Summary collapse
-
#initialize ⇒ NouvellePartieControleur
constructor
Initialize.
-
#run ⇒ Object
Méthode à définir dans tous les cas !.
Methods inherited from Controller
inherited, #loadFile, #loadModel, #render, #set_properties
Constructor Details
#initialize ⇒ NouvellePartieControleur
Initialize
15 16 17 18 19 20 21 22 23 24 |
# File 'app/controller/NouvellePartieControleur.rb', line 15 def initialize() #charge le modèle utilisateur loadModel("Utilisateur") #paramètres fenêtre @title = "Sudoku - Nouvelle Partie" @width = 600 @height = 550 @resizable = false @position= "CENTER_ALWAYS" end |
Instance Method Details
#run ⇒ Object
Méthode à définir dans tous les cas !
31 32 33 |
# File 'app/controller/NouvellePartieControleur.rb', line 31 def run() return self end |