class Interfaz

Attributes

exam[R]

Public Class Methods

new(e) click to toggle source
# File lib/my_gem/exam.rb, line 46
def initialize(e)
        @exam=e
end

Public Instance Methods

test(a) click to toggle source
# File lib/my_gem/exam.rb, line 49
def test(a)
        for i in(0...a.size)
                @exam.checkquestion(a[i])
        end
        @exam.calcnote
end