class LearnTest::FileFinder

Public Class Methods

location_to_dir(dir_name) click to toggle source
# File lib/learn_test/file_finder.rb, line 5
def self.location_to_dir(dir_name)
  new.location_to_dir(dir_name)
end

Public Instance Methods

location_to_dir(dir_name) click to toggle source
# File lib/learn_test/file_finder.rb, line 9
def location_to_dir(dir_name)
  File.join(File.dirname(File.expand_path(__FILE__)), "#{dir_name}")
end