Class: RubyLabs::LinearDSLab::QueueView
- Inherits:
-
Struct
- Object
- Struct
- RubyLabs::LinearDSLab::QueueView
- Defined in:
- lib/lineardslab.rb
Overview
A Struct is a convenient way to bundle a number of attributes together, using accessor methods, without having to write an explicit class. This QueueView object is being used to store the location of all the rectangles, and its corresponding values.
Instance Attribute Summary collapse
-
#cells ⇒ Object
Returns the value of attribute cells.
-
#values ⇒ Object
Returns the value of attribute values.
Instance Attribute Details
#cells ⇒ Object
Returns the value of attribute cells
122 123 124 |
# File 'lib/lineardslab.rb', line 122 def cells @cells end |
#values ⇒ Object
Returns the value of attribute values
122 123 124 |
# File 'lib/lineardslab.rb', line 122 def values @values end |