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.



71
72
73
74
75
76
# File 'lib/imposition/clases.rb', line 71

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.



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

def n
  @n
end

#tObject (readonly)

Returns the value of attribute t.



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

def t
  @t
end

#xObject (readonly)

Returns the value of attribute x.



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

def x
  @x
end

#yObject (readonly)

Returns the value of attribute y.



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

def y
  @y
end

Instance Method Details

#to_sObject



78
79
80
# File 'lib/imposition/clases.rb', line 78

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