Class: AbstractStudent
- Inherits:
-
Object
- Object
- AbstractStudent
- Defined in:
- lib/model_gem_source/student/abstract_student.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#firstname ⇒ Object
Returns the value of attribute firstname.
-
#id ⇒ Object
Returns the value of attribute id.
-
#lastname ⇒ Object
Returns the value of attribute lastname.
-
#patronymic ⇒ Object
Returns the value of attribute patronymic.
Instance Method Summary collapse
Instance Attribute Details
#firstname ⇒ Object
Returns the value of attribute firstname.
3 4 5 |
# File 'lib/model_gem_source/student/abstract_student.rb', line 3 def firstname @firstname end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/model_gem_source/student/abstract_student.rb', line 3 def id @id end |
#lastname ⇒ Object
Returns the value of attribute lastname.
3 4 5 |
# File 'lib/model_gem_source/student/abstract_student.rb', line 3 def lastname @lastname end |
#patronymic ⇒ Object
Returns the value of attribute patronymic.
3 4 5 |
# File 'lib/model_gem_source/student/abstract_student.rb', line 3 def patronymic @patronymic end |
Instance Method Details
#as_json ⇒ Object
21 22 23 |
# File 'lib/model_gem_source/student/abstract_student.rb', line 21 def as_json end |
#contacts_info ⇒ Object
13 14 15 |
# File 'lib/model_gem_source/student/abstract_student.rb', line 13 def contacts_info raise "method not implemented" end |
#fio_info ⇒ Object
9 10 11 |
# File 'lib/model_gem_source/student/abstract_student.rb', line 9 def fio_info raise "method not implemented" end |
#get_info ⇒ Object
5 6 7 |
# File 'lib/model_gem_source/student/abstract_student.rb', line 5 def get_info raise "method not implemented" end |
#to_s ⇒ Object
17 18 19 |
# File 'lib/model_gem_source/student/abstract_student.rb', line 17 def to_s get_info end |