Class: Clases::PreguntaExigePar
- Defined in:
- lib/imposition/clases.rb
Overview
TODO sugerencia si + o -
Instance Attribute Summary collapse
-
#nX ⇒ Object
Returns the value of attribute nX.
Attributes inherited from Pregunta
Instance Method Summary collapse
-
#initialize(nX) ⇒ PreguntaExigePar
constructor
A new instance of PreguntaExigePar.
- #metodo(nX) ⇒ Object
Methods inherited from Pregunta
Constructor Details
#initialize(nX) ⇒ PreguntaExigePar
Returns a new instance of PreguntaExigePar.
303 304 305 306 307 |
# File 'lib/imposition/clases.rb', line 303 def initialize(nX) @nX=nX @mensaje=I18n.t(:nXPair, :nX=>@nX) @ok=false end |
Instance Attribute Details
#nX ⇒ Object
Returns the value of attribute nX.
302 303 304 |
# File 'lib/imposition/clases.rb', line 302 def nX @nX end |
Instance Method Details
#metodo(nX) ⇒ Object
308 309 310 311 |
# File 'lib/imposition/clases.rb', line 308 def metodo(nX) @nX=nX.to_i @ok=true end |