Class: Clases::Mix

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(n, x, y, t) ⇒ Mix

Returns a new instance of Mix.



69
70
71
72
73
74
# File 'lib/imposition/clases.rb', line 69

def initialize(n,x,y,t)
	@n=n
	@x=x
	@y=y
	@t=t
end

Instance Attribute Details

#nObject (readonly)

Returns the value of attribute n.



75
76
77
# File 'lib/imposition/clases.rb', line 75

def n
  @n
end

#tObject (readonly)

Returns the value of attribute t.



75
76
77
# File 'lib/imposition/clases.rb', line 75

def t
  @t
end

#xObject (readonly)

Returns the value of attribute x.



75
76
77
# File 'lib/imposition/clases.rb', line 75

def x
  @x
end

#yObject (readonly)

Returns the value of attribute y.



75
76
77
# File 'lib/imposition/clases.rb', line 75

def y
  @y
end

Instance Method Details

#to_sObject



76
77
78
# File 'lib/imposition/clases.rb', line 76

def to_s
	"n=#{@n}, x=#{@x}, y=#{@y}, t=#{@t}"
end