Sha256: b2d8cac7377ef9309dae99665bbee12f450a4f394edbce03044a43c34029a960

Contents?: true

Size: 380 Bytes

Versions: 9

Compression:

Stored size: 380 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
mc_delta-0.4.0 lib/source/student/abstract_student.rb
mc_delta-0.3.0 lib/source/student/abstract_student.rb
mc_delta-0.2.0 lib/source/student/abstract_student.rb
mc_delta-0.1.0 lib/source/student/abstract_student.rb
model_gem-0.2.0 lib/model_gem_source/student/abstract_student.rb
model_gem-0.1.9 lib/model_gem_source/student/abstract_student.rb
model_gem-0.1.8 lib/model_gem_source/student/abstract_student.rb
model_gem-0.1.7 ./model_gem_source/student/abstract_student.rb
model_gem-0.1.6 ./model_gem_source/student/abstract_student.rb