Sha256: e8b788b9d1d7960672bd8d2cba7c636b5a7c0a7ee5c73568593e37749cb766c1
Contents?: true
Size: 440 Bytes
Versions: 8
Compression:
Stored size: 440 Bytes
Contents
module LearnGenerate 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 def self.location_to_file(file_name) new.location_to_file(file_name) end def location_to_file(file_name) File.join(File.dirname(File.expand_path(__FILE__))) end end end
Version data entries
8 entries across 8 versions & 1 rubygems