Class: Drntest::TestLoader
- Inherits:
-
Object
- Object
- Drntest::TestLoader
- Defined in:
- lib/drntest/test-loader.rb
Instance Method Summary collapse
-
#initialize(config, test_path) ⇒ TestLoader
constructor
A new instance of TestLoader.
- #load ⇒ Object
Constructor Details
#initialize(config, test_path) ⇒ TestLoader
Returns a new instance of TestLoader.
25 26 27 28 |
# File 'lib/drntest/test-loader.rb', line 25 def initialize(config, test_path) @config = config @test_path = test_path end |
Instance Method Details
#load ⇒ Object
30 31 32 |
# File 'lib/drntest/test-loader.rb', line 30 def load load_test_file(@test_path) end |