Method: Foreman::Procfile#load
- Defined in:
- lib/foreman/procfile.rb
#load(filename) ⇒ Object
Load a Procfile from a file
64 65 66 67 68 69 70 |
# File 'lib/foreman/procfile.rb', line 64 def load(filename) parse_data = parse(filename) raise EmptyFileError if parse_data.empty? @entries.replace parse_data end |