Class: Hap::Generators::Procfile
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Hap::Generators::Procfile
- Includes:
- Helpers
- Defined in:
- lib/hap/generators/procfile.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
11 12 13 |
# File 'lib/hap/generators/procfile.rb', line 11 def self.source_root File.dirname(__FILE__) end |
Instance Method Details
#create_procfile ⇒ Object
15 16 17 18 |
# File 'lib/hap/generators/procfile.rb', line 15 def create_procfile template "templates/config/#{type}/Procfile.erb", "#{Hap.app_root}/#{target}/#{app}/Procfile" end |