Class: Clases::PreguntaCXC

Inherits:
Pregunta show all
Defined in:
lib/imposition/clases.rb

Overview

TODO COSTURAS en total

Instance Attribute Summary collapse

Attributes inherited from Pregunta

#ide, #mensaje, #ok, #yn

Instance Method Summary collapse

Methods inherited from Pregunta

#==

Constructor Details

#initializePreguntaCXC

Returns a new instance of PreguntaCXC.



317
318
319
320
# File 'lib/imposition/clases.rb', line 317

def initialize()
  @ide=4
  @mensaje=I18n.t(:cXC)
end

Instance Attribute Details

#cXCObject (readonly)

Returns the value of attribute cXC.



316
317
318
# File 'lib/imposition/clases.rb', line 316

def cXC
  @cXC
end

Instance Method Details

#metodo(cXC) ⇒ Object



321
322
323
324
# File 'lib/imposition/clases.rb', line 321

def metodo(cXC)
  @cXC=cXC["numero"].to_i
  @ok=true
end