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.
46 47 48 49 50 |
# File 'lib/imposition/clases.rb', line 46 def initialize(mC,mP,t) @mC=mC @mP=mP @t=t end |
Instance Attribute Details
#mC ⇒ Object (readonly)
Returns the value of attribute mC.
51 52 53 |
# File 'lib/imposition/clases.rb', line 51 def mC @mC end |
#mP ⇒ Object (readonly)
Returns the value of attribute mP.
51 52 53 |
# File 'lib/imposition/clases.rb', line 51 def mP @mP end |
#t ⇒ Object (readonly)
Returns the value of attribute t.
51 52 53 |
# File 'lib/imposition/clases.rb', line 51 def t @t end |
Instance Method Details
#to_s ⇒ Object
52 53 54 |
# File 'lib/imposition/clases.rb', line 52 def to_s "mC=#{@mC} mP=#{@mP} t=#{@t}" end |