Sha256: e190c1fa0b99b4b76e448961ba47bbbbc6599fb4ad49903246d256855ffff23a
Contents?: true
Size: 474 Bytes
Versions: 3
Compression:
Stored size: 474 Bytes
Contents
module RubbishCode class AbstractStudent private_class_method :new attr_accessor :lastname, :firstname, :patronymic, :id def get_info raise "method not implemented" end def fio_info raise "method not implemented" end def contacts_info raise "method not implemented" end def to_s get_info end def as_json end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
Web_rubbish_code-1.0.2 | lib/source/student/abstract_student.rb |
Web_rubbish_code-1.0.1 | lib/source/student/abstract_student.rb |
Web_rubbish_code-1.0.0 | lib/source/student/abstract_student.rb |