Class: SagaForge::Dashboard::TimelinePresenter::Entry

Inherits:
Struct
  • Object
show all
Defined in:
app/presenters/saga_forge/dashboard/timeline_presenter.rb

Overview

index: this entry's position in its own source array (the event ledger, or the compensated/comp_error list), a tertiary sort key so #sorted is deterministic. Array#sort_by is not guaranteed stable, and every compensation entry shares the same synthetic at (see below), so without this tiebreak a multi-step compensation can render out of its actual (recorded) order with no indication anything is wrong.

Instance Attribute Summary collapse

Instance Attribute Details

#atObject

Returns the value of attribute at

Returns:

  • (Object)

    the current value of at



13
14
15
# File 'app/presenters/saga_forge/dashboard/timeline_presenter.rb', line 13

def at
  @at
end

#detailObject

Returns the value of attribute detail

Returns:

  • (Object)

    the current value of detail



13
14
15
# File 'app/presenters/saga_forge/dashboard/timeline_presenter.rb', line 13

def detail
  @detail
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



13
14
15
# File 'app/presenters/saga_forge/dashboard/timeline_presenter.rb', line 13

def index
  @index
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



13
14
15
# File 'app/presenters/saga_forge/dashboard/timeline_presenter.rb', line 13

def kind
  @kind
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



13
14
15
# File 'app/presenters/saga_forge/dashboard/timeline_presenter.rb', line 13

def label
  @label
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



13
14
15
# File 'app/presenters/saga_forge/dashboard/timeline_presenter.rb', line 13

def status
  @status
end