Class: Examen::EleccionSimple

Inherits:
Pregunta
  • Object
show all
Defined in:
lib/examen/eleccionsimple.rb

Instance Attribute Summary

Attributes inherited from Pregunta

#enunciado, #falsas, #respuesta, #valor

Instance Method Summary collapse

Methods inherited from Pregunta

#<=>, #extresp, #preg, #to_s

Constructor Details

#initialize(arg) ⇒ EleccionSimple

Returns a new instance of EleccionSimple.



7
8
9
10
11
# File 'lib/examen/eleccionsimple.rb', line 7

def initialize arg
        #attr_reader :enuncia2, :verdadero, :falso
        #super(enunciado,verdadero,falso)
        super(arg)
end