Sha256: effe2980c7e91ee89500e6277124db7e5efc92fc8791a5d6061ed903efe5efa3

Contents?: true

Size: 246 Bytes

Versions: 44

Compression:

Stored size: 246 Bytes

Contents

module LearnTest
  class FileFinder
    def self.location_to_dir(dir_name)
      new.location_to_dir(dir_name)
    end

    def location_to_dir(dir_name)
      File.join(File.dirname(File.expand_path(__FILE__)), "#{dir_name}")
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
learn-test-3.1.2 lib/learn_test/file_finder.rb
learn-test-3.1.1 lib/learn_test/file_finder.rb
learn-test-3.1.0 lib/learn_test/file_finder.rb
learn-test-3.0.0 lib/learn_test/file_finder.rb
learn-test-2.7.0 lib/learn_test/file_finder.rb
learn-test-2.6.1 lib/learn_test/file_finder.rb
learn-test-2.6.0 lib/learn_test/file_finder.rb
learn-test-2.5.6 lib/learn_test/file_finder.rb
learn-test-2.5.5 lib/learn_test/file_finder.rb
learn-test-2.5.4 lib/learn_test/file_finder.rb
learn-test-2.5.3 lib/learn_test/file_finder.rb
learn-test-2.5.2 lib/learn_test/file_finder.rb
learn-test-2.5.1 lib/learn_test/file_finder.rb
learn-test-2.5.0 lib/learn_test/file_finder.rb
learn-test-2.5.0.rc2 lib/learn_test/file_finder.rb
learn-test-2.5.0.rc1 lib/learn_test/file_finder.rb
learn-test-2.4.2 lib/learn_test/file_finder.rb
learn-test-2.4.1 lib/learn_test/file_finder.rb
learn-test-2.4.0 lib/learn_test/file_finder.rb
learn-test-2.3.3 lib/learn_test/file_finder.rb