Class: Producer::Core::Tests::ConditionTest
- Inherits:
-
Producer::Core::Test
- Object
- Producer::Core::Test
- Producer::Core::Tests::ConditionTest
- Extended by:
- Forwardable
- Defined in:
- lib/producer/core/tests/condition_test.rb
Instance Attribute Summary
Attributes inherited from Producer::Core::Test
Instance Method Summary collapse
Methods inherited from Producer::Core::Test
#initialize, #negated?, #pass?, #verify
Constructor Details
This class inherits a constructor from Producer::Core::Test
Instance Method Details
#condition ⇒ Object
9 10 11 |
# File 'lib/producer/core/tests/condition_test.rb', line 9 def condition Condition.evaluate env, *condition_args, &condition_block end |
#condition_args ⇒ Object
13 14 15 |
# File 'lib/producer/core/tests/condition_test.rb', line 13 def condition_args arguments.drop 1 end |