Module: Presenters::StateChangeless

Included in:
StockBehaviour, SubmissionPlatePresenter, UnknownPlatePresenter, UnknownTubePresenter, VacTubePresenter
Defined in:
app/models/concerns/presenters/state_changeless.rb

Overview

Include in presenters that suppress state changes under all circumstances

Instance Method Summary collapse

Instance Method Details

#control_state_changeObject



6
7
8
# File 'app/models/concerns/presenters/state_changeless.rb', line 6

def control_state_change
  # You cannot change the state
end

#default_state_changeObject



10
11
12
# File 'app/models/concerns/presenters/state_changeless.rb', line 10

def default_state_change
  # You cannot change the state
end