Class: Qtrix::Matrix::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/qtrix/matrix/model.rb

Overview

An entry (or cell) in the matrix, contains a single queue and its value relative to the other entries to the left in the same row.

Instance Attribute Summary collapse

Instance Attribute Details

#queueObject

Returns the value of attribute queue

Returns:

  • (Object)

    the current value of queue



9
10
11
# File 'lib/qtrix/matrix/model.rb', line 9

def queue
  @queue
end

#resource_percentageObject

Returns the value of attribute resource_percentage

Returns:

  • (Object)

    the current value of resource_percentage



9
10
11
# File 'lib/qtrix/matrix/model.rb', line 9

def resource_percentage
  @resource_percentage
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



9
10
11
# File 'lib/qtrix/matrix/model.rb', line 9

def value
  @value
end