class Fried::Test::LoadTestsPath
Puts tests path into {$LOAD_PATH}
Attributes
get_test_directory[RW]
prepend_to_load_path[RW]
Public Class Methods
build()
click to toggle source
# File lib/fried/test/load_tests_path.rb, line 25 def self.build new.tap do |instance| instance.get_test_directory = GetTestDirectory.build instance.prepend_to_load_path = PrependToLoadPath.build end end
call()
click to toggle source
# File lib/fried/test/load_tests_path.rb, line 38 def self.call instance = build instance.() end
new()
click to toggle source
# File lib/fried/test/load_tests_path.rb, line 20 def initialize @get_test_directory = GetTestDirectory.new @prepend_to_load_path = PrependToLoadPath.new end
Public Instance Methods
call()
click to toggle source
@param [void]
# File lib/fried/test/load_tests_path.rb, line 33 def call lib = get_test_directory.() prepend_to_load_path.(lib) end