Module: Pazuzu::Procfiles
- Defined in:
- lib/pazuzu/procfiles.rb
Class Method Summary collapse
Class Method Details
.normalize_procfile_path(path) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/pazuzu/procfiles.rb', line 5 def self.normalize_procfile_path(path) path = File.(path) if File.directory?(path) automatic_path = File.join(path, 'Procfile') path = automatic_path if File.exist?(automatic_path) end path end |