Class: Clases::Posicion

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#mCObject (readonly)

Returns the value of attribute mC.



53
54
55
# File 'lib/imposition/clases.rb', line 53

def mC
  @mC
end

#mPObject (readonly)

Returns the value of attribute mP.



53
54
55
# File 'lib/imposition/clases.rb', line 53

def mP
  @mP
end

#tObject (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_sObject



54
55
56
# File 'lib/imposition/clases.rb', line 54

def to_s
	"mC=#{@mC} mP=#{@mP} t=#{@t}"
end