Class: Canopus::DisplayMap::LineSet
- Inherits:
-
Struct
- Object
- Struct
- Canopus::DisplayMap::LineSet
- Defined in:
- lib/canopus/display_map/line_set.rb
Instance Attribute Summary collapse
-
#rows ⇒ Object
Returns the value of attribute rows.
-
#summary ⇒ Object
Returns the value of attribute summary.
Instance Method Summary collapse
-
#initialize(rows) ⇒ LineSet
constructor
A new instance of LineSet.
Constructor Details
#initialize(rows) ⇒ LineSet
Returns a new instance of LineSet.
4 5 6 7 |
# File 'lib/canopus/display_map/line_set.rb', line 4 def initialize(rows) super(rows, Canopus::DisplayMap::Summary.new(1, rows.length, 0)) freeze end |
Instance Attribute Details
#rows ⇒ Object
Returns the value of attribute rows
3 4 5 |
# File 'lib/canopus/display_map/line_set.rb', line 3 def rows @rows end |
#summary ⇒ Object
Returns the value of attribute summary
3 4 5 |
# File 'lib/canopus/display_map/line_set.rb', line 3 def summary @summary end |