Class: Examen::EleccionSimple
- Defined in:
- lib/examen/eleccionsimple.rb
Instance Attribute Summary
Attributes inherited from Pregunta
#enunciado, #falsas, #respuesta, #valor
Instance Method Summary collapse
-
#initialize(arg) ⇒ EleccionSimple
constructor
A new instance of EleccionSimple.
Methods inherited from Pregunta
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 |