Class: Qtrix::Matrix::Entry
- Inherits:
-
Struct
- Object
- Struct
- Qtrix::Matrix::Entry
- 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
-
#queue ⇒ Object
Returns the value of attribute queue.
-
#resource_percentage ⇒ Object
Returns the value of attribute resource_percentage.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#queue ⇒ Object
Returns the value of attribute queue
9 10 11 |
# File 'lib/qtrix/matrix/model.rb', line 9 def queue @queue end |
#resource_percentage ⇒ Object
Returns the value of attribute resource_percentage
9 10 11 |
# File 'lib/qtrix/matrix/model.rb', line 9 def resource_percentage @resource_percentage end |
#value ⇒ Object
Returns the value of attribute value
9 10 11 |
# File 'lib/qtrix/matrix/model.rb', line 9 def value @value end |