Class: Clases::Posicion
- Inherits:
-
Object
- Object
- Clases::Posicion
- Defined in:
- lib/imposition/clases.rb
Instance Attribute Summary collapse
-
#mC ⇒ Object
readonly
Returns the value of attribute mC.
-
#mP ⇒ Object
readonly
Returns the value of attribute mP.
-
#t ⇒ Object
readonly
Returns the value of attribute t.
Instance Method Summary collapse
-
#initialize(mC, mP, t) ⇒ Posicion
constructor
A new instance of Posicion.
- #to_s ⇒ Object
Constructor Details
#initialize(mC, mP, t) ⇒ Posicion
Returns a new instance of Posicion.
48 49 50 51 52 |
# File 'lib/imposition/clases.rb', line 48 def initialize(mC,mP,t) @mC=mC @mP=mP @t=t end |
Instance Attribute Details
#mC ⇒ Object (readonly)
Returns the value of attribute mC.
53 54 55 |
# File 'lib/imposition/clases.rb', line 53 def mC @mC end |
#mP ⇒ Object (readonly)
Returns the value of attribute mP.
53 54 55 |
# File 'lib/imposition/clases.rb', line 53 def mP @mP end |
#t ⇒ Object (readonly)
Returns the value of attribute t.
53 54 55 |
# File 'lib/imposition/clases.rb', line 53 def t @t end |
Instance Method Details
#to_s ⇒ Object
54 55 56 |
# File 'lib/imposition/clases.rb', line 54 def to_s "mC=#{@mC} mP=#{@mP} t=#{@t}" end |