Class: Pah::Templates::SimpleForm
- Inherits:
-
Pah::Template
- Object
- Rails::Generators::Base
- Pah::Template
- Pah::Templates::SimpleForm
- Defined in:
- lib/pah/templates/simple_form.rb
Instance Method Summary collapse
Methods inherited from Pah::Template
#ask_unless_test, #copy_static_file, #git_commit, #static_files, #will_you_like_to?
Instance Method Details
#call ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/pah/templates/simple_form.rb', line 4 def call system 'bundle exec rails generate simple_form:install -q' git add: 'config' git add: 'lib/templates' git_commit 'Run `rails generate simple_form:install`' copy_static_file 'config/locales/simple_form.pt-BR.yml' git add: 'config' git_commit 'Add simple_form pt-BR locale.' end |