Sha256: 52ff8968d719b24dbd3e04212a5e5ce32304e6488df27f5d9498124022e96782

Contents?: true

Size: 476 Bytes

Versions: 3

Compression:

Stored size: 476 Bytes

Contents

module ShnaiderCode
    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
shnaider_code-2.0.4 lib/source/student/abstract_student.rb
shnaider_code-2.0.3 lib/source/student/abstract_student.rb
shnaider_code-2.0.2 lib/source/student/abstract_student.rb