Class: Fried::Test::GetTestDirectory::Substitute
- Inherits:
-
Object
- Object
- Fried::Test::GetTestDirectory::Substitute
- Defined in:
- lib/fried/test/get_test_directory.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(test_path) ⇒ Substitute
constructor
A new instance of Substitute.
Constructor Details
#initialize(test_path) ⇒ Substitute
Returns a new instance of Substitute.
14 15 16 |
# File 'lib/fried/test/get_test_directory.rb', line 14 def initialize(test_path) @test_path = test_path end |
Instance Method Details
#call ⇒ Object
18 19 20 |
# File 'lib/fried/test/get_test_directory.rb', line 18 def call Pathname.new(test_path) end |