Class: Prereqs

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/prereqs/prereqs.rb

Overview

The Prereqs class is a delegator which passes any methods it does not define–such as ‘dut’ and ‘logger’–through to the Test Case instance.

Direct Known Subclasses

PrereqsForDut, PrereqsForTest

Instance Method Summary collapse

Constructor Details

#initialize(test_case) ⇒ Prereqs

Public: Initializes Prereqs. NOT FOR USE IN TESTS.

test_case - TestCase (or subclass) instance for these prereqs.

Returns nothing.



13
14
15
# File 'lib/prereqs/prereqs.rb', line 13

def initialize(test_case)
  super(test_case)
end