class Verdadero_Falso
Public Class Methods
new(pregunta,nivel,rescorr)
click to toggle source
Calls superclass method
SeleccionSimple.new
# File SeleccionSimple.rb, line 60 def initialize(pregunta,nivel,rescorr) super(pregunta, ['Cierto','Falso'],nivel,rescorr) end
Public Instance Methods
to_s()
click to toggle source
# File SeleccionSimple.rb, line 66 def to_s "#{@pregunta}\n a) Cierto\n b) Falso\n" end