Module: Buhos::Stages
- Defined in:
- lib/buhos/stages.rb
Overview
Stages ids, names, and methods to access them
Constant Summary collapse
- STAGE_SEARCH =
:search
- STAGE_SCREENING_TITLE_ABSTRACT =
:screening_title_abstract
- STAGE_SCREENING_REFERENCES =
:screening_references
- STAGE_REVIEW_FULL_TEXT =
:review_full_text
- STAGE_REPORT =
:report
- IDS =
[STAGE_SEARCH, STAGE_SCREENING_TITLE_ABSTRACT, STAGE_SCREENING_REFERENCES, STAGE_REVIEW_FULL_TEXT, #:analysis, STAGE_REPORT ].freeze
- NAMES =
{STAGE_SEARCH=> "stage.search", STAGE_SCREENING_TITLE_ABSTRACT=> "stage.screening_title_abstract", STAGE_SCREENING_REFERENCES=> "stage.screening_references", STAGE_REVIEW_FULL_TEXT=> "stage.review_full_text", #:analysis => "stage.analysis", STAGE_REPORT=> "stage.report"}.freeze
Class Method Summary collapse
Class Method Details
.get_stage_name(stage) ⇒ Object
53 54 55 |
# File 'lib/buhos/stages.rb', line 53 def self.get_stage_name(stage) NAMES[stage.to_sym] end |