Class: OKF::Pro::Board::Row

Inherits:
Struct
  • Object
show all
Defined in:
lib/okf/pro/board.rb

Overview

One row per visible board line, in file order, with everything a reader would otherwise re-derive by hand: which section it sits under, the two date shapes the counters read, and its bundle links.

Section is carried on the row rather than looked up per line, because "which section is this line in" is the question every board edit asks first and the one an agent answers today by counting headings in a cat. Pure, like everything else here — the age in days is the caller's, since it needs a calendar and this module has none.

Instance Attribute Summary collapse

Instance Attribute Details

#chase_dateObject

Returns the value of attribute chase_date

Returns:

  • (Object)

    the current value of chase_date



106
107
108
# File 'lib/okf/pro/board.rb', line 106

def chase_date
  @chase_date
end

#line_dateObject

Returns the value of attribute line_date

Returns:

  • (Object)

    the current value of line_date



106
107
108
# File 'lib/okf/pro/board.rb', line 106

def line_date
  @line_date
end

#sectionObject

Returns the value of attribute section

Returns:

  • (Object)

    the current value of section



106
107
108
# File 'lib/okf/pro/board.rb', line 106

def section
  @section
end

#targetsObject

Returns the value of attribute targets

Returns:

  • (Object)

    the current value of targets



106
107
108
# File 'lib/okf/pro/board.rb', line 106

def targets
  @targets
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



106
107
108
# File 'lib/okf/pro/board.rb', line 106

def text
  @text
end