Module: Inferno::DSL::Runnable
- Defined in:
- lib/inferno_requirements_tools/ext/inferno_core/runnable.rb
Overview
This module contains the DSL for defining child entities in the test definition framework.
Instance Method Summary collapse
-
#verifies_requirements(*requirement_ids) ⇒ Array<String>
Set/Get the IDs of requirements verifed by this runnable Set with [] to clear the list.
Instance Method Details
#verifies_requirements(*requirement_ids) ⇒ Array<String>
Set/Get the IDs of requirements verifed by this runnable Set with [] to clear the list
11 12 13 14 15 16 17 18 19 |
# File 'lib/inferno_requirements_tools/ext/inferno_core/runnable.rb', line 11 def verifies_requirements(*requirement_ids) if requirement_ids.empty? @requirement_ids || [] elsif requirement_ids == [[]] @requirement_ids = [] else @requirement_ids = requirement_ids end end |