Class: CreateStudentController

Inherits:
Object
  • Object
show all
Defined in:
lib/model_gem_source/controllers/create_student_controller.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCreateStudentController

Returns a new instance of CreateStudentController.



7
8
9
# File 'lib/model_gem_source/controllers/create_student_controller.rb', line 7

def initialize()
    @ui = CreateStudentView.new(self, nil)
end

Instance Attribute Details

#onCreateObject

Returns the value of attribute onCreate.



5
6
7
# File 'lib/model_gem_source/controllers/create_student_controller.rb', line 5

def onCreate
  @onCreate
end

#uiObject (readonly)

Returns the value of attribute ui.



4
5
6
# File 'lib/model_gem_source/controllers/create_student_controller.rb', line 4

def ui
  @ui
end