Class: Canopus::DisplayMap::PendingLineSet

Inherits:
Struct
  • Object
show all
Defined in:
lib/canopus/display_map/pending_line_set.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(display_rows) ⇒ PendingLineSet

Returns a new instance of PendingLineSet.



4
5
6
7
# File 'lib/canopus/display_map/pending_line_set.rb', line 4

def initialize(display_rows)
  super(display_rows, Canopus::DisplayMap::Summary.new(1, display_rows, 1))
  freeze
end

Instance Attribute Details

#display_rows ⇒ Object

Returns the value of attribute display_rows

Returns:

  • (Object) —

    the current value of display_rows



3
4
5
# File 'lib/canopus/display_map/pending_line_set.rb', line 3

def display_rows
  @display_rows
end

#summary ⇒ Object

Returns the value of attribute summary

Returns:

  • (Object) —

    the current value of summary



3
4
5
# File 'lib/canopus/display_map/pending_line_set.rb', line 3

def summary
  @summary
end

Instance Method Details

#rows ⇒ Object



8
# File 'lib/canopus/display_map/pending_line_set.rb', line 8

def rows = nil