Class: Origen::CodeGenerators::Bundler
- Defined in:
- lib/origen/code_generators/bundler.rb
Instance Method Summary collapse
Methods inherited from Base
banner, inherited, name, namespace
Methods included from Actions
#add_config, #add_source, #comment_config, #config, #environment, #gem, #gem_group, #generate, #git, #initialize, #lib, #rake, #rakefile, #readme
Instance Method Details
#create_gemspec_file ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/origen/code_generators/bundler.rb', line 8 def create_gemspec_file if config[:type] == :application template 'templates/code_generators/gemfile_app.rb', File.join(Origen.root, 'Gemfile') else template 'templates/code_generators/gemfile_plugin.rb', File.join(Origen.root, 'Gemfile') end end |