Class: RubyLabs::BitLab::NodeCoords

Inherits:
Struct
  • Object
show all
Defined in:
lib/bitlab.rb

Instance Attribute Summary collapse

Instance Attribute Details

#leftdepthObject

Returns the value of attribute leftdepth

Returns:

  • (Object)

    the current value of leftdepth



24
25
26
# File 'lib/bitlab.rb', line 24

def leftdepth
  @leftdepth
end

#leftedgeObject

Returns the value of attribute leftedge

Returns:

  • (Object)

    the current value of leftedge



24
25
26
# File 'lib/bitlab.rb', line 24

def leftedge
  @leftedge
end

#rightdepthObject

Returns the value of attribute rightdepth

Returns:

  • (Object)

    the current value of rightdepth



24
25
26
# File 'lib/bitlab.rb', line 24

def rightdepth
  @rightdepth
end

#rightedgeObject

Returns the value of attribute rightedge

Returns:

  • (Object)

    the current value of rightedge



24
25
26
# File 'lib/bitlab.rb', line 24

def rightedge
  @rightedge
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



24
25
26
# File 'lib/bitlab.rb', line 24

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



24
25
26
# File 'lib/bitlab.rb', line 24

def y
  @y
end