Class: Presenters::VacTubePresenter
- Inherits:
-
TubePresenter
- Object
- TubePresenter
- Presenters::VacTubePresenter
- Includes:
- StateChangeless, Statemachine::DoesNotAllowLibraryPassing, Statemachine::StateAllowsChildCreation
- Defined in:
- app/models/presenters/vac_tube_presenter.rb
Overview
A stock tube presenter is used for tubes just entering the pipeline. It shows a preview of the tube, but prevents well failure and state changes. In addition it also detects common scenarios which may indicate problems with the submission.
Instance Method Summary collapse
- #control_state_change ⇒ Object included from StateChangeless
- #default_state_change ⇒ Object included from StateChangeless
- #state ⇒ Object
Instance Method Details
#control_state_change ⇒ Object Originally defined in module StateChangeless
#default_state_change ⇒ Object Originally defined in module StateChangeless
#state ⇒ Object
13 14 15 |
# File 'app/models/presenters/vac_tube_presenter.rb', line 13 def state 'passed' end |