Method: Pregunta#==

Defined in:
lib/exam/preguntaMadre.rb

#==(other) ⇒ Object

Evitamos que se consideren iguales dos preguntas cualquiera sólo porque tengan la misma dificultad. Esto es una sobrecarga del método de comparación.



25
26
27
# File 'lib/exam/preguntaMadre.rb', line 25

def == (other)
    @pr == other.pr && @df == other.df
end