1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailbox/lib/rails/generators/mailbox/USAGE
Petrik 2b09948637 Replace 'Stubs out' with 'Generates' in generator USAGE's [ci skip]
Generators generate things, but what is meant by 'Stubbing out' might
confuse beginners and non-native English speakers.
While generated tests are stubs that should have an implementation, a
generated model is a valid model that doesn't require any changes.
2020-06-03 08:51:47 +02:00

12 lines
350 B
Text

Description:
============
Generates a new mailbox class in app/mailboxes and invokes your template
engine and test framework generators.
Example:
========
bin/rails generate mailbox inbox
creates an InboxMailbox class and test:
Mailbox: app/mailboxes/inbox_mailbox.rb
Test: test/mailboxes/inbox_mailbox_test.rb