Class: Boring::Faker::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Boring::Faker::InstallGenerator
- Defined in:
- lib/generators/boring/faker/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
permalink #add_faker_gem ⇒ Object
[View source]
9 10 11 12 13 14 |
# File 'lib/generators/boring/faker/install/install_generator.rb', line 9 def add_faker_gem log :adding, "faker" Bundler.with_unbundled_env do run "bundle add faker --group='development,test'" end end |