Class | Foreman::Procfile |
In: |
lib/foreman/procfile.rb
|
Parent: | Object |
Reads and writes Procfiles
A valid Procfile entry is captured by this regex:
/^([A-Za-z0-9_]+):\s*(.+)$/
All other lines are ignored.
Initialize a Procfile
@param [String] filename (nil) An optional filename to read from