Class: ShnaiderCode::EditStudentController
- Inherits:
-
Object
- Object
- ShnaiderCode::EditStudentController
- Defined in:
- lib/source/controllers/edit_student_controller.rb
Instance Attribute Summary collapse
-
#edit_user_id ⇒ Object
readonly
Returns the value of attribute edit_user_id.
-
#onCreate ⇒ Object
Returns the value of attribute onCreate.
Instance Method Summary collapse
-
#initialize(student) ⇒ EditStudentController
constructor
A new instance of EditStudentController.
Constructor Details
#initialize(student) ⇒ EditStudentController
Returns a new instance of EditStudentController.
6 7 8 |
# File 'lib/source/controllers/edit_student_controller.rb', line 6 def initialize(student) @edit_user_id = student.id end |
Instance Attribute Details
#edit_user_id ⇒ Object (readonly)
Returns the value of attribute edit_user_id.
4 5 6 |
# File 'lib/source/controllers/edit_student_controller.rb', line 4 def edit_user_id @edit_user_id end |
#onCreate ⇒ Object
Returns the value of attribute onCreate.
3 4 5 |
# File 'lib/source/controllers/edit_student_controller.rb', line 3 def onCreate @onCreate end |