Class: ChronoForge::Dashboard::BranchesPresenter::Merge

Inherits:
Struct
  • Object
show all
Defined in:
app/presenters/chrono_forge/dashboard/branches_presenter.rb

Overview

One merge join (a merge$<names> log = a BranchMergeJob’s durable target). state: :merging (pending — a poller is joining) | :merged (completed).

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#namesObject

Returns the value of attribute names

Returns:

  • (Object)

    the current value of names



9
10
11
# File 'app/presenters/chrono_forge/dashboard/branches_presenter.rb', line 9

def names
  @names
end

#started_atObject

Returns the value of attribute started_at

Returns:

  • (Object)

    the current value of started_at



9
10
11
# File 'app/presenters/chrono_forge/dashboard/branches_presenter.rb', line 9

def started_at
  @started_at
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



9
10
11
# File 'app/presenters/chrono_forge/dashboard/branches_presenter.rb', line 9

def state
  @state
end

Instance Method Details

#merging?Boolean

Returns:

  • (Boolean)


10
# File 'app/presenters/chrono_forge/dashboard/branches_presenter.rb', line 10

def merging? = state == :merging