Class: Fried::Test::LoadTestFiles
- Inherits:
-
Object
- Object
- Fried::Test::LoadTestFiles
- Defined in:
- lib/fried/test/load_test_files.rb
Overview
Load test files using require_relative
Defined Under Namespace
Classes: Substitute
Instance Attribute Summary collapse
-
#get_single_test_file ⇒ Object
Returns the value of attribute get_single_test_file.
-
#get_test_files ⇒ Object
Returns the value of attribute get_test_files.
Class Method Summary collapse
Instance Method Summary collapse
- #call(options = Options::Default) ⇒ void
-
#initialize ⇒ LoadTestFiles
constructor
A new instance of LoadTestFiles.
Constructor Details
#initialize ⇒ LoadTestFiles
Returns a new instance of LoadTestFiles.
21 22 23 24 |
# File 'lib/fried/test/load_test_files.rb', line 21 def initialize @get_test_files = GetTestFiles.new @get_single_test_file = GetSingleTestFile.new end |
Instance Attribute Details
#get_single_test_file ⇒ Object
Returns the value of attribute get_single_test_file.
19 20 21 |
# File 'lib/fried/test/load_test_files.rb', line 19 def get_single_test_file @get_single_test_file end |
#get_test_files ⇒ Object
Returns the value of attribute get_test_files.
18 19 20 |
# File 'lib/fried/test/load_test_files.rb', line 18 def get_test_files @get_test_files end |
Class Method Details
.build ⇒ Object
26 27 28 29 30 31 |
# File 'lib/fried/test/load_test_files.rb', line 26 def self.build new.tap do |instance| instance.get_test_files = GetTestFiles.build instance.get_single_test_file = GetSingleTestFile.build end end |