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.



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

#mCObject (readonly)

Returns the value of attribute mC.



51
52
53
# File 'lib/imposition/clases.rb', line 51

def mC
  @mC
end

#mPObject (readonly)

Returns the value of attribute mP.



51
52
53
# File 'lib/imposition/clases.rb', line 51

def mP
  @mP
end

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



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

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