Class: Clases::PreguntaTodasPag
- Defined in:
- lib/imposition/clases.rb
Instance Attribute Summary collapse
-
#caben ⇒ Object
Returns the value of attribute caben.
-
#nPliegos ⇒ Object
Returns the value of attribute nPliegos.
-
#nX ⇒ Object
Returns the value of attribute nX.
-
#nY ⇒ Object
Returns the value of attribute nY.
-
#tiene ⇒ Object
Returns the value of attribute tiene.
Attributes inherited from Pregunta
Instance Method Summary collapse
-
#initialize(nPliegos, nX, nY, caben, tiene) ⇒ PreguntaTodasPag
constructor
A new instance of PreguntaTodasPag.
- #metodo(yn) ⇒ Object
Methods inherited from Pregunta
Constructor Details
#initialize(nPliegos, nX, nY, caben, tiene) ⇒ PreguntaTodasPag
Returns a new instance of PreguntaTodasPag.
348 349 350 351 352 353 354 355 356 |
# File 'lib/imposition/clases.rb', line 348 def initialize(nPliegos, nX, nY, caben, tiene) @ide=3 @mensaje=I18n.t(:allPdfq, :p=>tiene.to_i, :s=>nPliegos.to_i, :nX=>nX, :nY=>nY, :c=>caben.to_i) @nPliegos=nPliegos @nX=nX @nY=nY @caben=caben @tiene=tiene end |
Instance Attribute Details
#caben ⇒ Object
Returns the value of attribute caben.
347 348 349 |
# File 'lib/imposition/clases.rb', line 347 def caben @caben end |
#nPliegos ⇒ Object
Returns the value of attribute nPliegos.
347 348 349 |
# File 'lib/imposition/clases.rb', line 347 def nPliegos @nPliegos end |
#nX ⇒ Object
Returns the value of attribute nX.
347 348 349 |
# File 'lib/imposition/clases.rb', line 347 def nX @nX end |
#nY ⇒ Object
Returns the value of attribute nY.
347 348 349 |
# File 'lib/imposition/clases.rb', line 347 def nY @nY end |
#tiene ⇒ Object
Returns the value of attribute tiene.
347 348 349 |
# File 'lib/imposition/clases.rb', line 347 def tiene @tiene end |
Instance Method Details
#metodo(yn) ⇒ Object
357 358 359 360 |
# File 'lib/imposition/clases.rb', line 357 def metodo(yn) @yn=yn @ok=true end |