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