Class: Fried::Test::GetTestDirectory::Substitute

Inherits:
Object
  • Object
show all
Defined in:
lib/fried/test/get_test_directory.rb

Instance Method Summary collapse

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

#callObject



18
19
20
# File 'lib/fried/test/get_test_directory.rb', line 18

def call
  Pathname.new(test_path)
end