Class | Merb::Generators::AppGenerator |
In: |
lib/merb-gen/app_generator.rb
|
Parent: | NamedGenerator |
ORM gem dependencies
Adds ORM plugin dependency ‘merb_#{orm}’ if we use any ORM.
orm<Symbol>: | ORM to use |
String: | Gem dependencies |
Template enging gem dependencies
When using something else than erb we add merb plugin dependency for the template engine.
template_engine<Symbol>: | Template engine to use |
String: | Gem dependencies |
Testing framework gem dependencies
If we use any other test framework than RSpec we must add dependency to the Gemfile. Merb depends on the RSpec so it‘s default dependency.
test_framework<Symbol>: | Testing framework to use |
String: | Gem dependencies |